From fcbe1b8477946d51801707810877f8134b001e3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D0=B0=D1=88=D0=B8=D0=BD=20=D0=9C=D0=B0=D0=BA=D1=81?= =?UTF-8?q?=D0=B8=D0=BC?= Date: Thu, 6 Apr 2023 20:25:46 +0400 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=BE=D0=BB=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BF=D1=80=D0=B8=D0=B2=D1=8F=D0=B7?= =?UTF-8?q?=D0=BA=D0=B8=20=D0=B8=20=D1=84=D0=BE=D1=80=D0=BC=D0=B0=D1=82?= =?UTF-8?q?=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5=20=D0=BE=D0=B1?= =?UTF-8?q?=D0=B5=D0=B4=D0=BE=D0=B2=20(=D0=B1=D0=B5=D0=B7=20=D0=BB=D0=BE?= =?UTF-8?q?=D0=B3=D0=B8=D0=BA=D0=B8)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controllers/HomeController.cs | 11 ++++ ...ndingConferenceBindingAndConference.cshtml | 21 +++++++ .../Views/Home/FormationDinner.cshtml | 58 +++++++++++++++++++ 3 files changed, 90 insertions(+) create mode 100644 Hotel/HostrelHeadwaiterApp/Views/Home/BindingConferenceBindingAndConference.cshtml create mode 100644 Hotel/HostrelHeadwaiterApp/Views/Home/FormationDinner.cshtml diff --git a/Hotel/HostrelHeadwaiterApp/Controllers/HomeController.cs b/Hotel/HostrelHeadwaiterApp/Controllers/HomeController.cs index c5ff2aa..6bd2a84 100644 --- a/Hotel/HostrelHeadwaiterApp/Controllers/HomeController.cs +++ b/Hotel/HostrelHeadwaiterApp/Controllers/HomeController.cs @@ -33,6 +33,17 @@ namespace HostrelHeadwaiterApp.Controllers return View(); } + public IActionResult BindingConferenceBindingAndConference() + { + return View(); + } + + public IActionResult FormationDinner() + { + return View(); + } + + [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)] public IActionResult Error() diff --git a/Hotel/HostrelHeadwaiterApp/Views/Home/BindingConferenceBindingAndConference.cshtml b/Hotel/HostrelHeadwaiterApp/Views/Home/BindingConferenceBindingAndConference.cshtml new file mode 100644 index 0000000..ea8c06b --- /dev/null +++ b/Hotel/HostrelHeadwaiterApp/Views/Home/BindingConferenceBindingAndConference.cshtml @@ -0,0 +1,21 @@ +@{ + ViewData["Title"] = "BindingConferenceBindingAndConference"; +} + +
+

Привязка брони по конфереции к конференциям

+
+
+ + + + + + +
\ No newline at end of file diff --git a/Hotel/HostrelHeadwaiterApp/Views/Home/FormationDinner.cshtml b/Hotel/HostrelHeadwaiterApp/Views/Home/FormationDinner.cshtml new file mode 100644 index 0000000..61f1a3e --- /dev/null +++ b/Hotel/HostrelHeadwaiterApp/Views/Home/FormationDinner.cshtml @@ -0,0 +1,58 @@ +@using HotelContracts.ViewModels + + +@model List + +@{ + ViewData["Title"] = "FormationDinner"; +} + +
+

Форматирование обедов

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

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

+ return; + } + +

+ Создать заказ +

+ + + + + + + + + + @foreach (var item in Model) + { + + + + + + } + +
+ Номер + + Имя + + Цена +
+ @Html.DisplayFor(modelItem => item.Id) + + @Html.DisplayFor(modelItem => item.DinnerName) + + @Html.DisplayFor(modelItem => item.DinnetPrice) +
+ } +
\ No newline at end of file