2023-07-04 20:40:37 -04:00
|
|
|
@model IEnumerable<User>
|
|
|
|
@{
|
|
|
|
ViewData["Title"] = "Users";
|
|
|
|
}
|
|
|
|
|
|
|
|
<table class="table">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>
|
|
|
|
@Html.DisplayNameFor(model => model.Id)
|
|
|
|
</th>
|
|
|
|
<th>
|
2023-11-30 12:50:51 -05:00
|
|
|
name*
|
2023-07-04 20:40:37 -04:00
|
|
|
</th>
|
|
|
|
<th>
|
|
|
|
number of associated accounts
|
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
@foreach (var item in Model) {
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
@Html.DisplayFor(modelItem => item.Id)
|
|
|
|
</td>
|
|
|
|
<td>
|
2023-11-30 12:50:51 -05:00
|
|
|
@Html.DisplayFor(modelItem => item.DisplayName)
|
2023-07-04 20:40:37 -04:00
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
@Html.DisplayFor(modelItem => item.Accounts.Count)x
|
|
|
|
</td>
|
|
|
|
<td>
|
2023-12-01 09:49:21 -05:00
|
|
|
<a asp-action="Details" asp-route-id="@item.Id">Details</a>
|
2023-07-04 20:40:37 -04:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
}
|
|
|
|
</tbody>
|
|
|
|
</table>
|