Правки регистрации.

This commit is contained in:
Programmist73 2023-05-17 19:29:33 +04:00
parent 97294824c2
commit d60dc2be91
2 changed files with 3 additions and 3 deletions

View File

@ -130,7 +130,7 @@ namespace BankYouBankruptCashierApp.Controllers
throw new Exception("Введите логин, пароль, ФИО и телефон"); throw new Exception("Введите логин, пароль, ФИО и телефон");
} }
APICashier.PostRequest("api/client/register", new CashierBindingModel APICashier.PostRequest("/api/Cashier/Register", new CashierBindingModel
{ {
Name = name, Name = name,
Surname = surname, Surname = surname,

View File

@ -1,5 +1,5 @@
@{ @{
ViewData["Title"] = "Register"; ViewData["Title"] = "Регистрация";
} }
<div class="text-center"> <div class="text-center">
@ -7,7 +7,7 @@
</div> </div>
<form method="post"> <form method="post">
<div class="row"> <div class="row">
<div class="col-4">Логин:</div> <div class="col-4">Почта:</div>
<div class="col-8"> <div class="col-8">
<input type="text" name="login" /> <input type="text" name="login" />
</div> </div>