@model List @{ ViewData["Title"] = "Pacientes"; Layout = "_Layout"; }

Lista de Pacientes

@if (User.IsInRole("Admin")) { }
@if (!string.IsNullOrEmpty(ViewBag.NombreBusqueda)) { Limpiar }
@foreach (var paciente in Model) { }
Documento Nombre Completo Email Fecha Registro Estado Acciones
@paciente.DocumentNumber @paciente.FirstName @paciente.LastName @paciente.Email @paciente.CreatedAt.ToShortDateString() @(paciente.IsActive ? "Activo" : "Inactivo") Ver @if (User.IsInRole("Admin")) { }
@section Scripts { @{await Html.RenderPartialAsync("_ValidationScriptsPartial");} }