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"] = "Регистрация"; }
@@ -7,7 +7,7 @@
-
Логин:
+
Почта: