+
+ @{
+ if (Model == null)
+ {
+
Авторизируйтесь
+ return;
+ }
+
+ Создать заказ
+
+
+
+
+
+ Номер
+ |
+
+ Кондитерское изделие
+ |
+
+ Дата создания
+ |
+
+ Количество
+ |
+
+ Сумма
+ |
+
+ Статус
+ |
+
+
+
+ @foreach (var item in Model)
+ {
+
+
+ @Html.DisplayFor(modelItem =>
+ item.Id)
+ |
+
+ @Html.DisplayFor(modelItem =>
+ item.PastryName)
+ |
+
+ @Html.DisplayFor(modelItem =>
+ item.DateCreate)
+ |
+
+ @Html.DisplayFor(modelItem =>
+ item.Count)
+ |
+
+ @Html.DisplayFor(modelItem =>
+ item.Sum)
+ |
+
+ @Html.DisplayFor(modelItem =>
+ item.Status)
+ |
+
+ }
+
+
+ }
+
\ No newline at end of file
diff --git a/Confectionery/ConfectioneryClientApp/Views/Home/Privacy.cshtml b/Confectionery/ConfectioneryClientApp/Views/Home/Privacy.cshtml
index af4fb19..34c9d31 100644
--- a/Confectionery/ConfectioneryClientApp/Views/Home/Privacy.cshtml
+++ b/Confectionery/ConfectioneryClientApp/Views/Home/Privacy.cshtml
@@ -1,6 +1,35 @@
-@{
- ViewData["Title"] = "Privacy Policy";
+@using ConfectioneryContracts.ViewModels
+@model ClientViewModel
+@{
+ ViewData["Title"] = "Личные данные";
}
-Use this page to detail your site's privacy policy.
+