+ @{
+ 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/Confectionery/ConfectioneryClientApp/Views/Shared/_Layout.cshtml b/Confectionery/ConfectioneryClientApp/Views/Shared/_Layout.cshtml
index dab21c2..3bbbff6 100644
--- a/Confectionery/ConfectioneryClientApp/Views/Shared/_Layout.cshtml
+++ b/Confectionery/ConfectioneryClientApp/Views/Shared/_Layout.cshtml
@@ -32,6 +32,9 @@