@model IEnumerable @{ ViewBag.Title = "Index"; Layout = "~/Areas/Admin/Views/Shared/_AdminLayout.cshtml"; }

Index

@Html.ActionLink("Create New", "Create")

@foreach (var item in Model) { }
@Html.DisplayNameFor(model => model.UserName) @Html.DisplayNameFor(model => model.Name) @Html.DisplayNameFor(model => model.Email) @Html.DisplayNameFor(model => model.PhoneNumber) @Html.DisplayNameFor(model => model.MobileNumber)
@Html.DisplayFor(modelItem => item.UserName) @Html.DisplayFor(modelItem => item.Name) @Html.DisplayFor(modelItem => item.Email) @Html.DisplayFor(modelItem => item.PhoneNumber) @Html.DisplayFor(modelItem => item.MobileNumber) @Html.ActionLink("Edit", "Edit", new { id=item.Id }) | @Html.ActionLink("Delete", "Delete", new { id=item.Id })