@model IEnumerable @{ ViewBag.Title = "CitiesClass"; }

CitiesClass

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

@foreach (var item in Model) { }
@Html.DisplayNameFor(model => model.name)
@Html.DisplayFor(modelItem => item.name) @Html.ActionLink("Edit", "Edit", new { id = item.id }) | @Html.ActionLink("Details", "Details", new { id = item.id }) | @Html.ActionLink("Delete", "Delete", new { id = item.id })