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