ывф
This commit is contained in:
parent
d81ce62928
commit
24f3bbc540
@ -246,11 +246,14 @@ namespace ZooClientApp.Controllers
|
||||
{
|
||||
ClientId = APIClient.Client.Id,
|
||||
RoutePreserves = a,
|
||||
DateStart = dateTime,
|
||||
RoutePrice = 100,
|
||||
RouteName = name
|
||||
});
|
||||
Response.Redirect("IndexRoute");
|
||||
}
|
||||
|
||||
|
||||
//=================ПОКУПКИ=================
|
||||
|
||||
//=================ПРОЧЕЕ=================
|
||||
|
@ -7,7 +7,8 @@
|
||||
<h1 class="display-4">Приложение "Зоопарк "Юрский период". Клиент"</h1>
|
||||
<div class="list-group">
|
||||
|
||||
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="IndexRoute">Маршруты</a>
|
||||
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="IndexRoute">Создание маршрута</a>
|
||||
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Privacy">Политика</a>
|
||||
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Reports">Отчеты</a>
|
||||
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Enter">Вход</a>
|
||||
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Register">Регистрация</a>
|
||||
|
@ -54,6 +54,7 @@
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.DateStart)
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
|
@ -80,7 +80,7 @@ namespace ZooRestApi.Controllers
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
public bool UpdateVisit(RouteBindingModel model)
|
||||
public bool UpdateRoute(RouteBindingModel model)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -93,7 +93,7 @@ namespace ZooRestApi.Controllers
|
||||
}
|
||||
}
|
||||
[HttpPost]
|
||||
public bool DeleteVisit(RouteBindingModel model)
|
||||
public bool DeleteRoute(RouteBindingModel model)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user