@model ThAmCo.Events.Data.Customer @{ ViewData["Title"] = "Details"; }

Details

Customer


@Html.DisplayNameFor(model => model.Surname)
@Html.DisplayFor(model => model.Surname)
@Html.DisplayNameFor(model => model.FirstName)
@Html.DisplayFor(model => model.FirstName)
@Html.DisplayNameFor(model => model.Email)
@Html.DisplayFor(model => model.Email)
@foreach (var item in Model.Bookings) { }
@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)
Edit | Back to List