@model ContosoUniversity.ViewModels.InstructorIndexData @{ ViewBag.Title = "Instructors"; }
@Html.ActionLink("Create New", "Create")
Last Name | First Name | Hire Date | Office | |
---|---|---|---|---|
@Html.ActionLink("Select", "Index", new { id = item.InstructorID }) | @Html.ActionLink("Edit", "Edit", new { id = item.InstructorID }) | @Html.ActionLink("Details", "Details", new { id = item.InstructorID }) | @Html.ActionLink("Delete", "Delete", new { id = item.InstructorID }) | @item.LastName | @item.FirstMidName | @Html.DisplayFor(modelItem => item.HireDate) | @if (item.OfficeAssignment != null) { @item.OfficeAssignment.Location } |