yavsc/src/Yavsc/Views/InstrumentRating/Index.cshtml

39 lines
874 B
Text
Raw Normal View History

2019-08-20 16:49:38 +01:00
@model IEnumerable<Yavsc.Models.Musical.InstrumentRating>
@{
2023-03-20 09:13:16 +00:00
ViewData["Title"] = "Index";
2019-08-20 16:49:38 +01:00
}
2023-03-20 09:13:16 +00:00
<h2>Index</h2>
2019-08-20 16:49:38 +01:00
<p>
2023-03-20 09:13:16 +00:00
<a asp-action="Create">Create New</a>
2019-08-20 16:49:38 +01:00
</p>
<table class="table">
<tr>
<th>
@Html.DisplayNameFor(model => model.Rate)
</th>
<th>
@Html.DisplayNameFor(model => model.Instrument.Name)
</th>
<th></th>
</tr>
@foreach (var item in Model) {
<tr>
<td>
@Html.DisplayFor(modelItem => item.Rate)
</td>
<td>
@Html.DisplayFor(modelItem => item.Instrument.Name)
</td>
<td>
2023-03-20 09:13:16 +00:00
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
<a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
2019-08-20 16:49:38 +01:00
</td>
</tr>
}
</table>