From f5093b6ee398891fc7bfc6f480b205a30ca97647 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 24 Mar 2017 16:03:23 -0400 Subject: [PATCH] Show followed and followers on profile --- .../Views/Profiles/ViewProfile.cshtml | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/Project-Unite/Views/Profiles/ViewProfile.cshtml b/Project-Unite/Views/Profiles/ViewProfile.cshtml index 171d37f..a5a5196 100644 --- a/Project-Unite/Views/Profiles/ViewProfile.cshtml +++ b/Project-Unite/Views/Profiles/ViewProfile.cshtml @@ -68,4 +68,28 @@ } +
+
+
+

Followers

+
    + @foreach(var f in Model.Followers) + { +
  • @Html.UserLink(f.Follower)
  • + } +
+
+
+
+
+

Following

+
    + @foreach (var f in Model.Followed) + { +
  • @Html.UserLink(f.Followed)
  • + } +
+
+
+
\ No newline at end of file