@page @model TicketOffice.Pages.Management.Routes.CreateModel @{ ViewData["Title"] = "Створити Маршрут"; Layout = "~/Pages/Shared/_Layout.cshtml"; }
Створити рейс
@Model.NumberValidationError
@Model.CapacityValidationError
@if (Model.CitiesCount != null) {

Маршрут

@for (int i = 0; i < Model.CitiesCount; i++) {
@Model.NameValidationError[i]
@Model.ArrivalTimeValidationError[i]
@Model.DepartureTimeValidationError[i]
@*
@Model.DepartureTimeValidationError[i]
*@
} } else {

Маршрут


}