+ @{
+ if (Model == null)
+ {
+
Авторизируйтесь
+ return;
+ }
+
+
+
+
+ Дата письма
+ |
+
+ Заголовок
+ |
+
+ Текст
+ |
+
+
+
+ @foreach (var Item in Model)
+ {
+
+
+ @Html.DisplayFor(ModelItem => Item.DateDelivery)
+ |
+
+ @Html.DisplayFor(ModelItem => Item.Subject)
+ |
+
+ @Html.DisplayFor(ModelItem => Item.Body)
+ |
+
+ }
+
+
+ }
+
diff --git a/Bar/BarClientApp/Views/Shared/_Layout.cshtml b/Bar/BarClientApp/Views/Shared/_Layout.cshtml
index b5451af..9833c54 100644
--- a/Bar/BarClientApp/Views/Shared/_Layout.cshtml
+++ b/Bar/BarClientApp/Views/Shared/_Layout.cshtml
@@ -13,7 +13,7 @@