diff --git a/School/SchoolApp/Controllers/HomeController.cs b/School/SchoolApp/Controllers/HomeController.cs index 5f77735..3607560 100644 --- a/School/SchoolApp/Controllers/HomeController.cs +++ b/School/SchoolApp/Controllers/HomeController.cs @@ -12,6 +12,10 @@ namespace SchoolApp.Controllers { _logger = logger; } + public IActionResult Enter() + { + return View(); + } public IActionResult Register() { diff --git a/School/SchoolApp/Views/Home/Enter.cshtml b/School/SchoolApp/Views/Home/Enter.cshtml new file mode 100644 index 0000000..ccbdde2 --- /dev/null +++ b/School/SchoolApp/Views/Home/Enter.cshtml @@ -0,0 +1,35 @@ + +@{ + ViewData["Title"] = "Enter"; +} + +
+ Редактировать занятие + Удалить занятие + Связать занятие и интерес +
++ Создать занятие +
++ Номер + | ++ Начало занятия + | ++ Конец занятия + | + +
---|---|---|
+ @Html.DisplayFor(modelItem => item.Id) + | + ++ @Html.DisplayFor(modelItem => item.TimeStart) + | ++ @Html.DisplayFor(modelItem => item.TimeEnd) + | + +