From d864c43932d79a560716c7f595114ce5b3156bcb Mon Sep 17 00:00:00 2001 From: Alenka Date: Wed, 1 May 2024 17:26:31 +0400 Subject: [PATCH] =?UTF-8?q?=D0=BC=D0=B5=D0=BB=D0=BA=D0=B8=D0=B5=20=D0=BF?= =?UTF-8?q?=D1=80=D0=B0=D0=B2=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Hospital/PharmacistApp/Controllers/HomeController.cs | 9 +++++---- Hospital/PharmacistApp/Views/Home/Register.cshtml | 8 +------- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/Hospital/PharmacistApp/Controllers/HomeController.cs b/Hospital/PharmacistApp/Controllers/HomeController.cs index 1c39ef5..7aa6bd2 100644 --- a/Hospital/PharmacistApp/Controllers/HomeController.cs +++ b/Hospital/PharmacistApp/Controllers/HomeController.cs @@ -4,6 +4,7 @@ using PharmacistApp.Models; using Microsoft.AspNetCore.Mvc; using System.Diagnostics; using HospitalDoctorApp; +using HospitalPharmacistApp; namespace HospitalPharmacistApp.Controllers { @@ -19,17 +20,17 @@ namespace HospitalPharmacistApp.Controllers [HttpGet] - public IActionResult CreatePatient() + public IActionResult CreateMedicine() { return View(); } [HttpGet] - public IActionResult CreateDisease() + public IActionResult CreateProcedure() { return View(); } [HttpGet] - public IActionResult CreateRecipe() + public IActionResult CreateDescriptionProcedure() { return View(); } @@ -99,7 +100,7 @@ View(APIPharmacist.GetRequest>($"api/disease/getdiseases? } [HttpPost] - public void Privacy(string login, string email, string password, string fio, string telephone) + public void Privacy(string login, string password, string fio, string telephone) { if (APIPharmacist.Pharmacist == null) { diff --git a/Hospital/PharmacistApp/Views/Home/Register.cshtml b/Hospital/PharmacistApp/Views/Home/Register.cshtml index b26c78e..afa4d6c 100644 --- a/Hospital/PharmacistApp/Views/Home/Register.cshtml +++ b/Hospital/PharmacistApp/Views/Home/Register.cshtml @@ -15,13 +15,7 @@ name="login" class="u-input u-input-rectangle" /> - +