Переименовал форму получения списка лекарств
This commit is contained in:
parent
01109b2f30
commit
36cb96aad0
@ -106,7 +106,7 @@ namespace PolyclinicWebAppImplementer.Controllers
|
|||||||
|
|
||||||
[HttpGet]
|
[HttpGet]
|
||||||
[HttpPost]
|
[HttpPost]
|
||||||
public IActionResult GetMedicamentsByDiagnoses()
|
public IActionResult MedicamentsByDiagnoses()
|
||||||
{
|
{
|
||||||
if (HttpContext.Request.Method == "POST")
|
if (HttpContext.Request.Method == "POST")
|
||||||
{
|
{
|
||||||
|
@ -13,12 +13,12 @@
|
|||||||
public static (string Url, string Title) Register = ("Register", "Регистрация");
|
public static (string Url, string Title) Register = ("Register", "Регистрация");
|
||||||
public static (string Url, string Title) Privacy = ("Privacy", "Политика приватности");
|
public static (string Url, string Title) Privacy = ("Privacy", "Политика приватности");
|
||||||
public static (string Url, string Title) AddRecipeToCourse = ("AddRecipeToCourse", "Привязка рецепта");
|
public static (string Url, string Title) AddRecipeToCourse = ("AddRecipeToCourse", "Привязка рецепта");
|
||||||
public static (string Url, string Title) GetMedicamentsByDiagnoses = ("GetMedicamentsByDiagnoses", "Лекарства по болезням");
|
public static (string Url, string Title) MedicamentsByDiagnoses = ("MedicamentsByDiagnoses", "Лекарства по болезням");
|
||||||
public static (string Url, string Title) DiagnosesReport = ("DiagnosesReport", "Отчет по болезням");
|
public static (string Url, string Title) DiagnosesReport = ("DiagnosesReport", "Отчет по болезням");
|
||||||
|
|
||||||
public static List<(string Url, string Title)> MenuItemsOrder = new List<(string Url, string Title)>
|
public static List<(string Url, string Title)> MenuItemsOrder = new List<(string Url, string Title)>
|
||||||
{
|
{
|
||||||
Index, Courses, Diagnoses, Symptomes, Login, Register, AddRecipeToCourse, GetMedicamentsByDiagnoses, DiagnosesReport
|
Index, Courses, Diagnoses, Symptomes, Login, Register, AddRecipeToCourse, MedicamentsByDiagnoses, DiagnosesReport
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
@{
|
@{
|
||||||
ViewBag.SelectedSiteMenuItem = SiteMenuItems.GetMedicamentsByDiagnoses;
|
ViewBag.SelectedSiteMenuItem = SiteMenuItems.MedicamentsByDiagnoses;
|
||||||
}
|
}
|
||||||
<h4>Список лекарств по болезням</h4>
|
<h4>Список лекарств по болезням</h4>
|
||||||
<form class="d-flex flex-column mt-2">
|
<form class="d-flex flex-column mt-2">
|
Loading…
Reference in New Issue
Block a user