+ @{
+ if (Model == null)
+ {
+
Авторизируйтесь
+ return;
+ }
+
+
+
+
+
+ Дата письма
+ |
+
+ Заголовок
+ |
+
+ Текст
+ |
+
+
+
+ @foreach (var item in Model)
+ {
+
+
+ @Html.DisplayFor(modelItem => item.DateDelivery)
+ |
+
+ @Html.DisplayFor(modelItem => item.Subject)
+ |
+
+ @Html.DisplayFor(modelItem => item.Body)
+ |
+
+ }
+
+
+ }
+ @if (ViewBag.Page > 0)
+ {
+
+ « Предыдущая
+
+ }
+ @if (!ViewBag.IsLast)
+ {
+
+ Следующая »
+
+ }
+
\ No newline at end of file
diff --git a/Shipyard/ShipyardClientApp/Views/Shared/_Layout.cshtml b/Shipyard/ShipyardClientApp/Views/Shared/_Layout.cshtml
index 2b0271b..98cde30 100644
--- a/Shipyard/ShipyardClientApp/Views/Shared/_Layout.cshtml
+++ b/Shipyard/ShipyardClientApp/Views/Shared/_Layout.cshtml
@@ -25,6 +25,9 @@