поручитель и испольнитель формы готовы, но без крудов.(ну типо всё норм для данного этапа)
This commit is contained in:
parent
2337b39328
commit
558639ddfb
@ -390,7 +390,7 @@ namespace VeterinaryShowDoctorApp.Controllers
|
||||
{
|
||||
return Redirect("~/Home/Enter");
|
||||
}
|
||||
ViewBag.Services = APIDoctor.GetRequest<List<ServiceViewModel>>($"api/drug/getservices?doctorid={APIDoctor.Doctor.Id}");
|
||||
ViewBag.Services = APIDoctor.GetRequest<List<ServiceViewModel>>($"api/service/getservices?doctorid={APIDoctor.Doctor.Id}");
|
||||
ViewBag.Medications = APIDoctor.GetRequest<List<MedicationViewModel>>($"api/medication/getmedications");
|
||||
return View();
|
||||
}
|
||||
@ -411,7 +411,7 @@ namespace VeterinaryShowDoctorApp.Controllers
|
||||
{
|
||||
a.Add(medication, new MedicationSearchModel { Id = medication } as IMedicationModel);
|
||||
}
|
||||
APIDoctor.PostRequest("api/drug/updateservice", new ServiceBindingModel
|
||||
APIDoctor.PostRequest("api/service/updateservice", new ServiceBindingModel
|
||||
{
|
||||
Id = service,
|
||||
ServiceName = name,
|
||||
|
@ -7,7 +7,7 @@
|
||||
</div>
|
||||
<form method="post">
|
||||
<div class="row">
|
||||
<div class="col-4">Login:</div>
|
||||
<div class="col-4">Логин:</div>
|
||||
<div class="col-8"><input type="text" name="login" /></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
|
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>@ViewData["Title"] - VeterinaryShowDoctorApp</title>
|
||||
<title>@ViewData["Title"] - Ветеринарная клиника. Доктор</title>
|
||||
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
|
||||
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
|
||||
<link rel="stylesheet" href="~/VeterinaryShowDoctorApp.styles.css" asp-append-version="true" />
|
||||
@ -12,7 +12,7 @@
|
||||
<header>
|
||||
<nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-light bg-white border-bottom box-shadow mb-3">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" asp-area="" asp-controller="Home" asp-action="Index">VeterinaryShowDoctorApp</a>
|
||||
<a class="navbar-brand" asp-area="" asp-controller="Home" asp-action="Index">Ветеринарная клиника. Доктор</a>
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target=".navbar-collapse" aria-controls="navbarSupportedContent"
|
||||
aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
|
Loading…
x
Reference in New Issue
Block a user