+ @{
+ 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/Pizzeria/PizzeriaClientApp/Views/Shared/_Layout.cshtml b/Pizzeria/PizzeriaClientApp/Views/Shared/_Layout.cshtml
index 4b3b4af..55dbda5 100644
--- a/Pizzeria/PizzeriaClientApp/Views/Shared/_Layout.cshtml
+++ b/Pizzeria/PizzeriaClientApp/Views/Shared/_Layout.cshtml
@@ -25,6 +25,9 @@