<% foreach (var item in Model) { %>
| <%: Html.ActionLink(“Edit”, “Edit”, new { id=item.AlbumId }) %> |
<%: Html.ActionLink(“Delete”, “Delete”, new { id=item.AlbumId })%>
|
<%: Html.Truncate(item.Title, 25) %> |
<%: Html.Truncate(item.Artist.Name, 25) %> |
<%: item.Genre.Name %> |
<% } %>