с богом
This commit is contained in:
parent
058c573dcd
commit
8ff08c2f7b
@ -68,6 +68,26 @@ namespace CarCenterStorekeeperApp.Controllers
|
||||
{
|
||||
return View();
|
||||
}
|
||||
[HttpGet]
|
||||
public IActionResult Cars()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
[HttpGet]
|
||||
public IActionResult CarCreate()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
[HttpGet]
|
||||
public IActionResult CarDelete()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
[HttpGet]
|
||||
public IActionResult CarUpdate()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
|
||||
public IActionResult Error()
|
||||
{
|
||||
|
@ -1,7 +1,7 @@
|
||||
@using CarCenterContracts.ViewModels;
|
||||
@using CarCenterDataModels.Enums;
|
||||
@{
|
||||
ViewData["Title"] = "CreateBundling";
|
||||
ViewData["Title"] = "BundlingCreate";
|
||||
}
|
||||
|
||||
<div class="text-center">
|
||||
|
@ -9,6 +9,12 @@
|
||||
</div>
|
||||
|
||||
<form method="post">
|
||||
<div class="row mb-3">
|
||||
<div class="col-4">Машина</div>
|
||||
<div class="col-8">
|
||||
<select id="car" name="car" class="form-control" asp-items="@(new SelectList(@ViewBag.Cars,"Id"))"></select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-4">Марка:</div>
|
||||
<div class="col-8">
|
||||
|
@ -1,7 +1,7 @@
|
||||
@using CarCenterContracts.ViewModels;
|
||||
@using CarCenterDataModels.Enums;
|
||||
@{
|
||||
ViewData["Title"] = "CreateFeature";
|
||||
ViewData["Title"] = "FeatureCreate";
|
||||
}
|
||||
|
||||
<div class="text-center">
|
||||
|
@ -1,7 +1,7 @@
|
||||
<!-- Страница обновления особенности. Самой логики нет, она будет в 3 этапе курсовой работы, поэтому пока так. -->
|
||||
@using CarCenterDataModels.Enums;
|
||||
@{
|
||||
ViewData["Title"] = "UpdateFeature";
|
||||
ViewData["Title"] = "FeatureUpdate";
|
||||
}
|
||||
|
||||
<div class="text-center">
|
||||
|
@ -34,6 +34,9 @@
|
||||
<li class="nav-item">
|
||||
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Features">Особенности</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Cars">Машины</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user