...
Codeblock | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
@model IEnumerable<RecordBook.Models.User> @{ ViewBag.Title = "Index"; } <h2>@Resources.Resource.Title_Index_User</h2> <p> @Html.ActionLink(Resources.Resource.Btn_Create, "Create") </p> <table class="table"> <tr> <th> @Resources.Resource.Id </th> <th> @Resources.Resource.FirstNameName </th> </tr> @foreach (var item in Model) { <tr> <td> @Html.DisplayFor(modelItem => item.Id) </td> <td> @Html.DisplayFor(modelItem => item.FirstNameName) </td> </tr> } </table> |