diff --git a/ShipyardClientApp/Views/Home/Mails.cshtml b/ShipyardClientApp/Views/Home/Mails.cshtml new file mode 100644 index 0000000..52a6336 --- /dev/null +++ b/ShipyardClientApp/Views/Home/Mails.cshtml @@ -0,0 +1,54 @@ +@using ShipyardContracts.ViewModels + +@model List + +@{ + ViewData["Title"] = "Mails"; +} + +
+

Почта

+
+ + +
+ @{ + if (Model == null) + { +

Авторизируйтесь

+ return; + } + + + + + + + + + + + @foreach (var item in Model) + { + + + + + + } + +
+ Дата письма + + Заголовок + + Текст +
+ @Html.DisplayFor(modelItem => item.DateDelivery) + + @Html.DisplayFor(modelItem => item.Subject) + + @Html.DisplayFor(modelItem => item.Body) +
+ } +