@model IEnumerable @{ ViewData["Title"] = "Index"; }

Index

Create New

@foreach (var item in Model) { }
@Html.DisplayNameFor(model => model.Name) @Html.DisplayNameFor(model => model.CreatedOn) @Html.DisplayNameFor(model => model.UpdatedOn)
@Html.DisplayFor(modelItem => item.Name) @Html.DisplayFor(modelItem => item.CreatedOn) @Html.DisplayFor(modelItem => item.UpdatedOn) Edit | Details | Delete