+ // + Create New +
- // + Create New -
| Name | -Title | -Username | -URL | -Contact link | ++ @Html.DisplayNameFor(model => model.Id) + | ++ @Html.DisplayNameFor(model => model.Name) + | ++ @Html.DisplayNameFor(model => model.Title) + | ++ @Html.DisplayNameFor(model => model.Username) + | ++ @Html.DisplayNameFor(model => model.Url) + | ++ @Html.DisplayNameFor(model => model.CanContactMe) + | ++ @Html.DisplayNameFor(model => model.DisplayInFooter) + | +|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| + @Html.DisplayFor(modelItem => item.Id) + | @Html.DisplayFor(modelItem => item.Name) | @@ -43,8 +62,11 @@ @Html.DisplayFor(modelItem => item.CanContactMe)- @Html.ActionLink("Edit", "Edit", new { id = item.Name }) | - @Html.ActionLink("Delete", "Delete", new { id = item.Name }) + @Html.DisplayFor(modelItem => item.DisplayInFooter) + | ++ @Html.ActionLink("Edit", "Edit", new { /* id=item.PrimaryKey */ }) | + @Html.ActionLink("Delete", "Delete", new { /* id=item.PrimaryKey */ }) |