@{ ViewBag.Title = "Index"; } <h2>Index</h2> <table> <tr> <th>GenreId</th> <th>Name</th> <th>Description</th> </tr> @foreach (var item in Model) { <tr> <td>@item.GenreId</td> <td>@item.Name</td> <td style="width:300px">@item.Description</td> </tr> } </table> <pre>
@foreach (var item in Model) {
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)