AacpsBusAlert/BinaryDad.AacpsBusAlert.Web/Views/Home/Index.cshtml

16 lines
315 B
Plaintext

@model ICollection<BusRoute>
@{
ViewData["Title"] = "Home Page";
var busRoutes = Model.OrderBy(r => r.BusNumber);
}
@foreach (var busRoute in busRoutes)
{
<div>
<h3>@busRoute.BusNumber - @busRoute.Schools</h3>
<p>@busRoute.Impact</p>
<p>@busRoute.Schedules</p>
</div>
}