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

Details

Staff


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