Правки регистрации.
This commit is contained in:
parent
97294824c2
commit
d60dc2be91
@ -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,
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user