+ @{
+ 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/GarmentFactoryClientApp/Views/Shared/_Layout.cshtml b/GarmentFactoryClientApp/Views/Shared/_Layout.cshtml
index da03a6d..7721d7d 100644
--- a/GarmentFactoryClientApp/Views/Shared/_Layout.cshtml
+++ b/GarmentFactoryClientApp/Views/Shared/_Layout.cshtml
@@ -25,6 +25,9 @@