From 36cb96aad0f896214805dd6981ec435699695f91 Mon Sep 17 00:00:00 2001 From: "ns.potapov" Date: Wed, 1 May 2024 13:04:33 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B5=D1=80=D0=B5=D0=B8=D0=BC=D0=B5?= =?UTF-8?q?=D0=BD=D0=BE=D0=B2=D0=B0=D0=BB=20=D1=84=D0=BE=D1=80=D0=BC=D1=83?= =?UTF-8?q?=20=D0=BF=D0=BE=D0=BB=D1=83=D1=87=D0=B5=D0=BD=D0=B8=D1=8F=20?= =?UTF-8?q?=D1=81=D0=BF=D0=B8=D1=81=D0=BA=D0=B0=20=D0=BB=D0=B5=D0=BA=D0=B0?= =?UTF-8?q?=D1=80=D1=81=D1=82=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PolyclinicWebAppImplementer/Controllers/HomeController.cs | 2 +- Polyclinic/PolyclinicWebAppImplementer/SiteMenuItems.cs | 4 ++-- ...amentsByDiagnoses.cshtml => MedicamentsByDiagnoses.cshtml} | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename Polyclinic/PolyclinicWebAppImplementer/Views/Home/{GetMedicamentsByDiagnoses.cshtml => MedicamentsByDiagnoses.cshtml} (94%) diff --git a/Polyclinic/PolyclinicWebAppImplementer/Controllers/HomeController.cs b/Polyclinic/PolyclinicWebAppImplementer/Controllers/HomeController.cs index 551fa8a..a58b615 100644 --- a/Polyclinic/PolyclinicWebAppImplementer/Controllers/HomeController.cs +++ b/Polyclinic/PolyclinicWebAppImplementer/Controllers/HomeController.cs @@ -106,7 +106,7 @@ namespace PolyclinicWebAppImplementer.Controllers [HttpGet] [HttpPost] - public IActionResult GetMedicamentsByDiagnoses() + public IActionResult MedicamentsByDiagnoses() { if (HttpContext.Request.Method == "POST") { diff --git a/Polyclinic/PolyclinicWebAppImplementer/SiteMenuItems.cs b/Polyclinic/PolyclinicWebAppImplementer/SiteMenuItems.cs index b821c8a..18c4257 100644 --- a/Polyclinic/PolyclinicWebAppImplementer/SiteMenuItems.cs +++ b/Polyclinic/PolyclinicWebAppImplementer/SiteMenuItems.cs @@ -13,12 +13,12 @@ public static (string Url, string Title) Register = ("Register", "Регистрация"); public static (string Url, string Title) Privacy = ("Privacy", "Политика приватности"); 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 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 }; } } diff --git a/Polyclinic/PolyclinicWebAppImplementer/Views/Home/GetMedicamentsByDiagnoses.cshtml b/Polyclinic/PolyclinicWebAppImplementer/Views/Home/MedicamentsByDiagnoses.cshtml similarity index 94% rename from Polyclinic/PolyclinicWebAppImplementer/Views/Home/GetMedicamentsByDiagnoses.cshtml rename to Polyclinic/PolyclinicWebAppImplementer/Views/Home/MedicamentsByDiagnoses.cshtml index 7b2c33a..5c5b465 100644 --- a/Polyclinic/PolyclinicWebAppImplementer/Views/Home/GetMedicamentsByDiagnoses.cshtml +++ b/Polyclinic/PolyclinicWebAppImplementer/Views/Home/MedicamentsByDiagnoses.cshtml @@ -1,5 +1,5 @@ @{ - ViewBag.SelectedSiteMenuItem = SiteMenuItems.GetMedicamentsByDiagnoses; + ViewBag.SelectedSiteMenuItem = SiteMenuItems.MedicamentsByDiagnoses; }

Список лекарств по болезням