@model ThAmCo.Events.Data.Customer @{ ViewData["Title"] = "Details"; }
@Html.DisplayNameFor(model => model.Bookings.FirstOrDefault().Event.Title) | @Html.DisplayNameFor(model => model.Bookings.FirstOrDefault().Event.Date) | @Html.DisplayNameFor(model => model.Bookings.FirstOrDefault().Event.Duration) | @Html.DisplayNameFor(model => model.Bookings.FirstOrDefault().Event.TypeId) | @Html.DisplayNameFor(model => model.Bookings.FirstOrDefault().Attended) | |
---|---|---|---|---|---|
@Html.DisplayFor(modelItem => item.Event.Title) | @Html.DisplayFor(modelItem => item.Event.Date) | @Html.DisplayFor(modelItem => item.Event.Duration) | @Html.DisplayFor(modelItem => item.Event.TypeId) | @Html.DisplayFor(modelItem => item.Attended) |