+ @{
+ if (Model == null)
+ {
+
Login bobr!
+ return;
+ }
+
+
+
+
+
+ Mail's date'
+ |
+
+ Title
+ |
+
+ Text
+ |
+
+
+
+ @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/AutomobilePlant/AutomobilePlantClientApp/Views/Home/_Layout.cshtml b/AutomobilePlant/AutomobilePlantClientApp/Views/Home/_Layout.cshtml
index 85e5902..e2bc066 100644
--- a/AutomobilePlant/AutomobilePlantClientApp/Views/Home/_Layout.cshtml
+++ b/AutomobilePlant/AutomobilePlantClientApp/Views/Home/_Layout.cshtml
@@ -27,6 +27,9 @@