+ @{
+ if (Model == null)
+ {
+
Авторизируйтесь
+ return;
+ }
+
+
+
+
+
+ Дата письма
+ |
+
+ Заголовок
+ |
+
+ Текст
+ |
+
+
+
+ @foreach (var item in Model)
+ {
+
+
+ @Html.DisplayFor(modelItem => item.DateDelivery)
+ |
+
+ @Html.DisplayFor(modelItem => item.Subject)
+ |
+
+ @Html.DisplayFor(modelItem => item.Body)
+ |
+
+ }
+
+
+
+
= 1 ? ViewBag.Page - 1 : 1 })" class="btn btn-primary">
+ Назад
+
+
Страница @ViewBag.Page
+
+ Вперед
+
+ }
+
\ No newline at end of file
diff --git a/AircraftPlant/AircraftPlantClientApp/Views/Shared/_Layout.cshtml b/AircraftPlant/AircraftPlantClientApp/Views/Shared/_Layout.cshtml
index 03e35ec..d872b22 100644
--- a/AircraftPlant/AircraftPlantClientApp/Views/Shared/_Layout.cshtml
+++ b/AircraftPlant/AircraftPlantClientApp/Views/Shared/_Layout.cshtml
@@ -27,6 +27,9 @@