Index.cshtml 3.36 KB
@model IEnumerable<Maps.Entities.BusStop>


<p>
    <a asp-action="Create">Create New</a>
</p>
<table class="table">
    <thead>
        <tr>
            <th>
                @Html.DisplayNameFor(model => model.AreaLandAvailability)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.AreaStopAvailability)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.BalanceCost)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.BusStationCardId)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.CrossSectionNumber)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.DateActual)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.LocationLeft)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.LocationRight)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.PocketAvailability)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Position)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.RepairCertificate)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.ToiletAvailability)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.YearBuild)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.YearRepair)
            </th>
            <th></th>
        </tr>
    </thead>
    <tbody>
@foreach (var item in Model) {
        <tr>
            <td>
                @Html.DisplayFor(modelItem => item.AreaLandAvailability)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.AreaStopAvailability)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.BalanceCost)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.BusStationCardId)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.CrossSectionNumber)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.DateActual)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.LocationLeft)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.LocationRight)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.PocketAvailability)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Position)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.RepairCertificate)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.ToiletAvailability)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.YearBuild)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.YearRepair)
            </td>
            <td>
                <a asp-action="Edit" asp-route-id="@item.BusStopId">Edit</a> |
                <a asp-action="Details" asp-route-id="@item.BusStopId">Details</a> |
                <a asp-action="Delete" asp-route-id="@item.BusStopId">Delete</a>
            </td>
        </tr>
}
    </tbody>
</table>