- @foreach (Link link in Startup.Database.Links.Where(i => i.CanContactMe).OrderBy(i => i.Order))
+ @foreach (Link link in Model.Where(i => i.CanContactMe))
{
@(link.Title) @(link.Username)
}
- @foreach (Link link in Startup.Database.Links.Where(i => !i.CanContactMe).OrderBy(i => i.Order))
+ @foreach (Link link in Model.Where(i => !i.CanContactMe))
{
@(link.Title) @(link.Username)
}
diff --git a/MyWebsite/MyWebsite/Views/Shared/ContactsBlock.cshtml b/MyWebsite/MyWebsite/Views/Shared/ContactsBlock.cshtml
index f7e719f..b5c77c5 100644
--- a/MyWebsite/MyWebsite/Views/Shared/ContactsBlock.cshtml
+++ b/MyWebsite/MyWebsite/Views/Shared/ContactsBlock.cshtml
@@ -4,28 +4,26 @@
}
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/MyWebsite/MyWebsite/Views/Shared/_Layout.cshtml b/MyWebsite/MyWebsite/Views/Shared/_Layout.cshtml
index 5fc8ac5..9d492a2 100644
--- a/MyWebsite/MyWebsite/Views/Shared/_Layout.cshtml
+++ b/MyWebsite/MyWebsite/Views/Shared/_Layout.cshtml
@@ -4,7 +4,7 @@
@ViewData["Title"] - XFox111.NET
-
+
@@ -20,6 +20,7 @@
}
+
@@ -35,7 +36,7 @@
-