F1 - Autentcacion - Completa

This commit is contained in:
2026-08-10 15:54:42 -03:00
commit dd7f5b3bf6
245 changed files with 81985 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
@using Microsoft.AspNetCore.Identity
@model IEnumerable<IdentityRole>
<h1>Roles</h1>
<p><a asp-action="Create" class="btn btn-primary">Crear nuevo rol</a></p>
<table class="table">
<thead><tr><th>Nombre</th><th>Acciones</th></tr></thead>
<tbody>
@foreach (var role in Model)
{
<tr>
<td>@role.Name</td>
<td>
<a asp-action="Delete" asp-route-id="@role.Id" class="btn btn-danger btn-sm">Eliminar</a>
</td>
</tr>
}
</tbody>
</table>