создала пока только сами представления для создания препаратов и процедур
This commit is contained in:
parent
9319f64665
commit
0459cc754e
@ -43,6 +43,16 @@ namespace PolyclinicWebAppSuretor.Controllers
|
|||||||
return View();
|
return View();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public IActionResult CreateProcedure()
|
||||||
|
{
|
||||||
|
return View();
|
||||||
|
}
|
||||||
|
|
||||||
|
public IActionResult CreateMedicament()
|
||||||
|
{
|
||||||
|
return View();
|
||||||
|
}
|
||||||
|
|
||||||
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
|
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
|
||||||
public IActionResult Error()
|
public IActionResult Error()
|
||||||
{
|
{
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
@using PolyclinicContracts.ViewModels
|
@using PolyclinicContracts.ViewModels
|
||||||
@model List<RecipeViewModel>
|
@model List<MedicamentViewModel>
|
||||||
@{
|
@{
|
||||||
ViewData["Title"] = "CreateRecipe";
|
ViewData["Title"] = "CreateMedicament";
|
||||||
}
|
}
|
||||||
<div class="text-center mt-3 mb-3">
|
<div class="text-center mt-3 mb-3">
|
||||||
<h2 class="display-4">Создание рецепта</h2>
|
<h2 class="display-4">Создание препарата</h2>
|
||||||
</div>
|
</div>
|
@ -1,8 +1,8 @@
|
|||||||
@using PolyclinicContracts.ViewModels
|
@using PolyclinicContracts.ViewModels
|
||||||
@model List<ProcedureViewModel>
|
@model List<ProcedureViewModel>
|
||||||
@{
|
@{
|
||||||
ViewData["Title"] = "CreateRecipe";
|
ViewData["Title"] = "CreateProcedure";
|
||||||
}
|
}
|
||||||
<div class="text-center mt-3 mb-3">
|
<div class="text-center mt-3 mb-3">
|
||||||
<h2 class="display-4">Создание рецепта</h2>
|
<h2 class="display-4">Создание процедуры</h2>
|
||||||
</div>
|
</div>
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
<p>
|
<p>
|
||||||
<a asp-action="CreateRecipe">
|
<a asp-action="CreateRecipe">
|
||||||
Открыть модальное окно
|
Создать рецепт
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user