+ @{
+ 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/TravelCompany/TravelCompanyClientApp/Views/Shared/_Layout.cshtml b/TravelCompany/TravelCompanyClientApp/Views/Shared/_Layout.cshtml
index 075e74a..99c4094 100644
--- a/TravelCompany/TravelCompanyClientApp/Views/Shared/_Layout.cshtml
+++ b/TravelCompany/TravelCompanyClientApp/Views/Shared/_Layout.cshtml
@@ -24,6 +24,9 @@