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

16 lines
315 B
Plaintext
Raw Normal View History

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