1
Reply

How can you use helper classes with combination of Model?

Vinod Yadav

Vinod Yadav

8y
177
0
Reply

    <% 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 %> <% } %>