From d60dc2be913c9c6904e6ec1e59dfc6ab828372f4 Mon Sep 17 00:00:00 2001
From: Programmist73 <egor.eliseev.1986@mail.ru>
Date: Wed, 17 May 2023 19:29:33 +0400
Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=B0=D0=B2=D0=BA=D0=B8=20=D1=80?=
 =?UTF-8?q?=D0=B5=D0=B3=D0=B8=D1=81=D1=82=D1=80=D0=B0=D1=86=D0=B8=D0=B8.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../BankYouBankruptCashierApp/Controllers/HomeController.cs   | 2 +-
 .../BankYouBankruptCashierApp/Views/Home/Register.cshtml      | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/BankYouBankrupt/BankYouBankruptCashierApp/Controllers/HomeController.cs b/BankYouBankrupt/BankYouBankruptCashierApp/Controllers/HomeController.cs
index 80f14ef..1291dcc 100644
--- a/BankYouBankrupt/BankYouBankruptCashierApp/Controllers/HomeController.cs
+++ b/BankYouBankrupt/BankYouBankruptCashierApp/Controllers/HomeController.cs
@@ -130,7 +130,7 @@ namespace BankYouBankruptCashierApp.Controllers
                 throw new Exception("Введите логин, пароль, ФИО и телефон");
             }
 
-            APICashier.PostRequest("api/client/register", new CashierBindingModel
+            APICashier.PostRequest("/api/Cashier/Register", new CashierBindingModel
             {
                 Name = name,
                 Surname = surname,
diff --git a/BankYouBankrupt/BankYouBankruptCashierApp/Views/Home/Register.cshtml b/BankYouBankrupt/BankYouBankruptCashierApp/Views/Home/Register.cshtml
index 35db21b..2d2ae30 100644
--- a/BankYouBankrupt/BankYouBankruptCashierApp/Views/Home/Register.cshtml
+++ b/BankYouBankrupt/BankYouBankruptCashierApp/Views/Home/Register.cshtml
@@ -1,5 +1,5 @@
 @{
-	ViewData["Title"] = "Register";
+	ViewData["Title"] = "Регистрация";
 }
 
 <div class="text-center">
@@ -7,7 +7,7 @@
 </div>
 <form method="post">
 	<div class="row">
-		<div class="col-4">Логин:</div>
+		<div class="col-4">Почта:</div>
 		<div class="col-8">
 			<input type="text" name="login" />
 		</div>