yavsc/src/Yavsc.Org/Views/Command/Index.cshtml

59 lines
1.3 KiB
Text
Raw Normal View History

2019-01-01 16:28:47 +00:00
@model IEnumerable<RdvQuery>
@{
2023-03-20 09:13:16 +00:00
ViewData["Title"] = "Index";
2019-01-01 16:28:47 +00:00
}
2023-03-20 09:13:16 +00:00
<h2>Index</h2>
2019-01-01 16:28:47 +00:00
<table class="table">
<tr>
<th>
2023-03-20 09:13:16 +00:00
DateCreated"]
2019-01-01 16:28:47 +00:00
</th>
<th>
2023-03-20 09:13:16 +00:00
EventDate"]
2019-01-01 16:28:47 +00:00
</th>
<th>
2023-03-20 09:13:16 +00:00
Location"]
2019-01-01 16:28:47 +00:00
</th>
<th>
2023-03-20 09:13:16 +00:00
Client"]
2019-01-01 16:28:47 +00:00
</th>
<th>
2023-03-20 09:13:16 +00:00
Performer"]
2019-01-01 16:28:47 +00:00
</th>
<th>
2023-03-20 09:13:16 +00:00
ValidationDate"]
2019-01-01 16:28:47 +00:00
</th>
<th></th>
</tr>
@foreach (var item in Model) {
<tr>
<td>
@Html.DisplayFor(modelItem => item.DateCreated)
</td>
<td>
@Html.DisplayFor(modelItem => item.EventDate)
</td>
<td>
@Html.DisplayFor(modelItem => item.Location.Address)
</td>
<td>
@Html.DisplayFor(modelItem => item.Client.UserName)
</td>
<td>
@Html.DisplayFor(modelItem => item.PerformerProfile.Performer.UserName)
</td>
<td>
@Html.DisplayFor(modelItem => item.ValidationDate)
</td>
<td>
<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>
</td>
</tr>
}
</table>