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