+ @{
+ if (Model == null)
+ {
+
Авторизируйтесь
+ return;
+ }
+
+
+
+
+ Дата письма
+ |
+
+ Заголовок
+ |
+
+ Текст
+ |
+
+
+
+ @foreach (var item in Model)
+ {
+
+
+ @Html.DisplayFor(modelItem =>
+ item.DateDelivery)
+ |
+
+ @Html.DisplayFor(modelItem =>
+ item.Subject)
+ |
+
+ @Html.DisplayFor(modelItem =>
+ item.Body)
+ |
+
+ }
+
+
+ }
+
\ No newline at end of file
diff --git a/BlacksmithWorkshop/BlacksmithWorkshopClientApp/Views/Shared/_Layout.cshtml b/BlacksmithWorkshop/BlacksmithWorkshopClientApp/Views/Shared/_Layout.cshtml
index 0cff161..5c4090e 100644
--- a/BlacksmithWorkshop/BlacksmithWorkshopClientApp/Views/Shared/_Layout.cshtml
+++ b/BlacksmithWorkshop/BlacksmithWorkshopClientApp/Views/Shared/_Layout.cshtml
@@ -27,6 +27,9 @@