From 558639ddfb3d374229ae23bed657417569b4fee6 Mon Sep 17 00:00:00 2001 From: antoc0der <1@DESKTOP-K1L8ND3> Date: Wed, 1 May 2024 21:39:06 +0400 Subject: [PATCH] =?UTF-8?q?=D0=BF=D0=BE=D1=80=D1=83=D1=87=D0=B8=D1=82?= =?UTF-8?q?=D0=B5=D0=BB=D1=8C=20=D0=B8=20=D0=B8=D1=81=D0=BF=D0=BE=D0=BB?= =?UTF-8?q?=D1=8C=D0=BD=D0=B8=D1=82=D0=B5=D0=BB=D1=8C=20=D1=84=D0=BE=D1=80?= =?UTF-8?q?=D0=BC=D1=8B=20=D0=B3=D0=BE=D1=82=D0=BE=D0=B2=D1=8B,=20=D0=BD?= =?UTF-8?q?=D0=BE=20=D0=B1=D0=B5=D0=B7=20=D0=BA=D1=80=D1=83=D0=B4=D0=BE?= =?UTF-8?q?=D0=B2.(=D0=BD=D1=83=20=D1=82=D0=B8=D0=BF=D0=BE=20=D0=B2=D1=81?= =?UTF-8?q?=D1=91=20=D0=BD=D0=BE=D1=80=D0=BC=20=D0=B4=D0=BB=D1=8F=20=D0=B4?= =?UTF-8?q?=D0=B0=D0=BD=D0=BD=D0=BE=D0=B3=D0=BE=20=D1=8D=D1=82=D0=B0=D0=BF?= =?UTF-8?q?=D0=B0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../VeterinaryShowDoctorApp/Controllers/HomeController.cs | 4 ++-- .../VeterinaryShowDoctorApp/Views/Home/Register.cshtml | 2 +- .../VeterinaryShowDoctorApp/Views/Shared/_Layout.cshtml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/VeterinaryView/VeterinaryShowDoctorApp/Controllers/HomeController.cs b/VeterinaryView/VeterinaryShowDoctorApp/Controllers/HomeController.cs index 1064978..8d9cd77 100644 --- a/VeterinaryView/VeterinaryShowDoctorApp/Controllers/HomeController.cs +++ b/VeterinaryView/VeterinaryShowDoctorApp/Controllers/HomeController.cs @@ -390,7 +390,7 @@ namespace VeterinaryShowDoctorApp.Controllers { return Redirect("~/Home/Enter"); } - ViewBag.Services = APIDoctor.GetRequest>($"api/drug/getservices?doctorid={APIDoctor.Doctor.Id}"); + ViewBag.Services = APIDoctor.GetRequest>($"api/service/getservices?doctorid={APIDoctor.Doctor.Id}"); ViewBag.Medications = APIDoctor.GetRequest>($"api/medication/getmedications"); return View(); } @@ -411,7 +411,7 @@ namespace VeterinaryShowDoctorApp.Controllers { a.Add(medication, new MedicationSearchModel { Id = medication } as IMedicationModel); } - APIDoctor.PostRequest("api/drug/updateservice", new ServiceBindingModel + APIDoctor.PostRequest("api/service/updateservice", new ServiceBindingModel { Id = service, ServiceName = name, diff --git a/VeterinaryView/VeterinaryShowDoctorApp/Views/Home/Register.cshtml b/VeterinaryView/VeterinaryShowDoctorApp/Views/Home/Register.cshtml index e340961..f27c970 100644 --- a/VeterinaryView/VeterinaryShowDoctorApp/Views/Home/Register.cshtml +++ b/VeterinaryView/VeterinaryShowDoctorApp/Views/Home/Register.cshtml @@ -7,7 +7,7 @@
-
Login:
+
Логин:
diff --git a/VeterinaryView/VeterinaryShowDoctorApp/Views/Shared/_Layout.cshtml b/VeterinaryView/VeterinaryShowDoctorApp/Views/Shared/_Layout.cshtml index 965d14e..3a25e69 100644 --- a/VeterinaryView/VeterinaryShowDoctorApp/Views/Shared/_Layout.cshtml +++ b/VeterinaryView/VeterinaryShowDoctorApp/Views/Shared/_Layout.cshtml @@ -3,7 +3,7 @@ - @ViewData["Title"] - VeterinaryShowDoctorApp + @ViewData["Title"] - Ветеринарная клиника. Доктор @@ -12,7 +12,7 @@