コード例 #1
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 1 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Inicio\Index.cshtml"

            ViewData["Title"] = "Inicio";

#line default
#line hidden
            BeginContext(118, 62, true);
            WriteLiteral("\r\n\r\n<div class=\"Contenido fadeIn second\">\r\n    <h2>Bienvenido ");
            EndContext();
            BeginContext(181, 18, false);
#line 9 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Inicio\Index.cshtml"
            Write(User.Identity.Name);

#line default
#line hidden
            EndContext();
            BeginContext(199, 109, true);
            WriteLiteral("</h2> <hr />\r\n    <h4> Sistema de administración para usuarios con dos roles como demostraci&oacute;n:</h4>\r\n");
            EndContext();
#line 11 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Inicio\Index.cshtml"
            switch (Sesion.IsSignedIn(User))
            {
            case true:


#line default
#line hidden
#line 14 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Inicio\Index.cshtml"
                if (User.IsInRole("Administrador"))
                {
#line default
#line hidden
                    BeginContext(439, 146, true);
                    WriteLiteral("                <ul>\r\n                    <li><h4> Actualmente cuentas con un rol de &quot;Administrador&quot;.</h4></li>\r\n                </ul>\r\n");
                    EndContext();
#line 19 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Inicio\Index.cshtml"
                }
                else if (User.IsInRole("Usuario"))
                {
#line default
#line hidden
                    BeginContext(663, 140, true);
                    WriteLiteral("                <ul>\r\n                    <li><h4> Actualmente cuentas con un rol de &quot;Usuario&quot;.</h4></li>\r\n                </ul>\r\n");
                    EndContext();
#line 25 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Inicio\Index.cshtml"
                }
                else
                {
#line default
#line hidden
                    BeginContext(851, 170, true);
                    WriteLiteral("                <ul>\r\n                    <li><h4> Actualmente no cuentas con un rol, contacta con el administrador para asignarte uno.</h4></li>\r\n                </ul>\r\n");
                    EndContext();
#line 31 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Inicio\Index.cshtml"
                }

#line default
#line hidden
#line 31 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Inicio\Index.cshtml"

                break;

            case false:

#line default
#line hidden
                BeginContext(1079, 136, true);
                WriteLiteral("            <ul>\r\n                <li><h4> Para iniciar sesi&oacute;n debes estar registrado previamente.</h4></li>\r\n            </ul>\r\n");
                EndContext();
#line 38 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Inicio\Index.cshtml"
                break;
            }

#line default
#line hidden
            BeginContext(1242, 8, true);
            WriteLiteral("</div>\r\n");
            EndContext();
        }
コード例 #2
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 1 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Sesion\AccesoDenegado.cshtml"

            ViewData["Title"] = "Acceso denegado";

#line default
#line hidden
            BeginContext(95, 280, true);
            WriteLiteral(@"<center>
    <div class=""container"">
        <div class=""fadeInDown sesion"">
            <div class=""col-12"">
                <div id=""sesionContenido"">
                    <div class=""fadeIn first"">
                        <h3>Acceso denegado</h3>
                        ");
            EndContext();
            BeginContext(375, 66, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "66692930f690725607f6af1cab23c12f6acb50266172", async() => {
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationSummaryTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper);
#line 12 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Sesion\AccesoDenegado.cshtml"
            __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper.ValidationSummary = global::Microsoft.AspNetCore.Mvc.Rendering.ValidationSummary.ModelOnly;

#line default
#line hidden
            __tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-summary", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper.ValidationSummary, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(441, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 13 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Sesion\AccesoDenegado.cshtml"
            if (Sesion.IsSignedIn(User))
            {
#line default
#line hidden
                BeginContext(525, 28, true);
                WriteLiteral("                            ");
                EndContext();
                BeginContext(553, 443, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "66692930f690725607f6af1cab23c12f6acb50268275", async() => {
                    BeginContext(616, 373, true);
                    WriteLiteral(@"
                                <h5>No tienes permitido entrar a &eacute;sta secci&oacute;n</h5>
                                <hr />
                                <div class=""form-group"">
                                    <button type=""submit"" class=""btn btn-lg btn-success"">Aceptar</button>
                                </div>
                            ");
                    EndContext();
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper);
                __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper);
                __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Controller = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Action = (string)__tagHelperAttribute_2.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(996, 2, true);
                WriteLiteral("\r\n");
                EndContext();
#line 22 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Sesion\AccesoDenegado.cshtml"
            }
            else
            {
#line default
#line hidden
                BeginContext(1082, 28, true);
                WriteLiteral("                            ");
                EndContext();
                BeginContext(1110, 424, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "66692930f690725607f6af1cab23c12f6acb502611071", async() => {
                    BeginContext(1181, 346, true);
                    WriteLiteral(@"
                                <h5>Tu sesi&oacute;n ha caducado</h5>
                                <hr />
                                <div class=""form-group"">
                                    <button type=""submit"" class=""btn btn-lg btn-success"">Aceptar</button>
                                </div>
                            ");
                    EndContext();
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper);
                __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper);
                __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Controller = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Action = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1534, 2, true);
                WriteLiteral("\r\n");
                EndContext();
#line 32 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Sesion\AccesoDenegado.cshtml"
            }

#line default
#line hidden
            BeginContext(1563, 109, true);
            WriteLiteral("                    </div>\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</center>");
            EndContext();
        }
コード例 #3
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 1 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Admin\Index.cshtml"

            ViewData["Title"] = "Administrador de Usuarios";

#line default
#line hidden
            BeginContext(137, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 7 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Admin\Index.cshtml"
            if (Sesion.IsSignedIn(User) && (User.IsInRole("Administrador") || User.IsInRole("Root")))
            {
#line default
#line hidden
                BeginContext(234, 89, true);
                WriteLiteral("    <h1 class=\"bg-info text-white bordeTitulo fadeIn first\">Todos los usuarios</h1>\r\n    ");
                EndContext();
                BeginContext(323, 70, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "27b8f51c7700be0a9a490780363df61b1eab952c6308", async() => {
                    BeginContext(384, 5, true);
                    WriteLiteral("Nuevo");
                    EndContext();
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(393, 2, true);
                WriteLiteral("\r\n");
                EndContext();
#line 11 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Admin\Index.cshtml"
            }
            else
            {
#line default
#line hidden
                BeginContext(407, 86, true);
                WriteLiteral("    <h1 class=\"bg-info text-white bordeTitulo fadeIn first\">Edici&oacute;n de usuario ");
                EndContext();
                BeginContext(494, 18, false);
#line 14 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Admin\Index.cshtml"
                Write(User.Identity.Name);

#line default
#line hidden
                EndContext();
                BeginContext(512, 7, true);
                WriteLiteral("</h1>\r\n");
                EndContext();
#line 15 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Admin\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(522, 94, true);
            WriteLiteral("\r\n<div class=\"Contenido\">\r\n    <table class=\"table table-sm table-bordered fadeIn second\">\r\n\r\n");
            EndContext();
#line 20 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Admin\Index.cshtml"
            if (Sesion.IsSignedIn(User) && (User.IsInRole("Administrador") || User.IsInRole("Root")))
            {
#line default
#line hidden
#line 22 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Admin\Index.cshtml"
                foreach (AppUsuarios usuario in Model)
                {
#line default
#line hidden
#line 24 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Admin\Index.cshtml"
                    if (usuario.UserName != "Root")
                    {
#line default
#line hidden
                        BeginContext(864, 147, true);
                        WriteLiteral("                    <tr><th>Nombre</th><th>E-mail</th><th>Editar</th><th>Eliminar</th></tr>\r\n                    <tr>\r\n                        <td>");
                        EndContext();
                        BeginContext(1012, 16, false);
#line 28 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Admin\Index.cshtml"
                        Write(usuario.UserName);

#line default
#line hidden
                        EndContext();
                        BeginContext(1028, 35, true);
                        WriteLiteral("</td>\r\n                        <td>");
                        EndContext();
                        BeginContext(1064, 13, false);
#line 29 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Admin\Index.cshtml"
                        Write(usuario.Email);

#line default
#line hidden
                        EndContext();
                        BeginContext(1077, 35, true);
                        WriteLiteral("</td>\r\n                        <td>");
                        EndContext();
                        BeginContext(1112, 96, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "27b8f51c7700be0a9a490780363df61b1eab952c10653", async() => {
                            BeginContext(1194, 10, true);
                            WriteLiteral("Actualizar");
                            EndContext();
                        }
                                                                                    );
                        __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                        __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                        __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                        __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_3.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                        if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                        {
                            throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                        }
                        BeginWriteTagHelperAttribute();
#line 30 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Admin\Index.cshtml"
                        WriteLiteral(usuario.Id);

#line default
#line hidden
                        __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                        __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"] = __tagHelperStringValueBuffer;
                        __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-id", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1208, 65, true);
                        WriteLiteral("</td>\r\n                        <td>\r\n                            ");
                        EndContext();
                        BeginContext(1273, 281, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "27b8f51c7700be0a9a490780363df61b1eab952c13207", async() => {
                            BeginContext(1342, 85, true);
                            WriteLiteral("\r\n                                <button type=\"submit\" class=\"btn btn-sm btn-danger\"");
                            EndContext();
                            BeginWriteAttribute("onclick", " onclick=\"", 1427, "\"", 1499, 7);
                            WriteAttributeValue("", 1437, "return", 1437, 6, true);
                            WriteAttributeValue(" ", 1443, "confirm(\'Desea", 1444, 15, true);
                            WriteAttributeValue(" ", 1458, "eliminar", 1459, 9, true);
                            WriteAttributeValue(" ", 1467, "el", 1468, 3, true);
                            WriteAttributeValue(" ", 1470, "usuario:", 1471, 9, true);
#line 33 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Admin\Index.cshtml"
                            WriteAttributeValue(" ", 1479, usuario.UserName, 1480, 17, false);

#line default
#line hidden
                            WriteAttributeValue("", 1497, "\')", 1497, 2, true);
                            EndWriteAttribute();
                            BeginContext(1500, 47, true);
                            WriteLiteral(">Elminar</button>\r\n                            ");
                            EndContext();
                        }
                                                                                    );
                        __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>();
                        __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper);
                        __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>();
                        __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper);
                        __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Action = (string)__tagHelperAttribute_4.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                        if (__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues == null)
                        {
                            throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper", "RouteValues"));
                        }
                        BeginWriteTagHelperAttribute();
#line 32 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Admin\Index.cshtml"
                        WriteLiteral(usuario.Id);

#line default
#line hidden
                        __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                        __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues["id"] = __tagHelperStringValueBuffer;
                        __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-id", __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues["id"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                        __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_5.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1554, 60, true);
                        WriteLiteral("\r\n                        </td>\r\n                    </tr>\r\n");
                        EndContext();
#line 37 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Admin\Index.cshtml"
                    }

#line default
#line hidden
#line 37 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Admin\Index.cshtml"
                }

#line default
#line hidden
#line 38 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Admin\Index.cshtml"
            }
            else if (Sesion.IsSignedIn(User) && User.IsInRole("Usuario"))
            {
#line default
#line hidden
#line 42 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Admin\Index.cshtml"
                foreach (AppUsuarios usuario in Model)
                {
#line default
#line hidden
#line 44 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Admin\Index.cshtml"
                    if (usuario.UserName == User.Identity.Name && User.Identity.IsAuthenticated)
                    {
#line default
#line hidden
                        BeginContext(1923, 130, true);
                        WriteLiteral("                    <tr><th>Nombre</th><th>E-mail</th><th>Editar</th></tr>\r\n                    <tr>\r\n                        <td>");
                        EndContext();
                        BeginContext(2054, 16, false);
#line 48 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Admin\Index.cshtml"
                        Write(usuario.UserName);

#line default
#line hidden
                        EndContext();
                        BeginContext(2070, 35, true);
                        WriteLiteral("</td>\r\n                        <td>");
                        EndContext();
                        BeginContext(2106, 13, false);
#line 49 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Admin\Index.cshtml"
                        Write(usuario.Email);

#line default
#line hidden
                        EndContext();
                        BeginContext(2119, 35, true);
                        WriteLiteral("</td>\r\n                        <td>");
                        EndContext();
                        BeginContext(2154, 96, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "27b8f51c7700be0a9a490780363df61b1eab952c19276", async() => {
                            BeginContext(2236, 10, true);
                            WriteLiteral("Actualizar");
                            EndContext();
                        }
                                                                                    );
                        __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                        __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                        __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                        __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_3.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                        if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                        {
                            throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                        }
                        BeginWriteTagHelperAttribute();
#line 50 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Admin\Index.cshtml"
                        WriteLiteral(usuario.Id);

#line default
#line hidden
                        __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                        __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"] = __tagHelperStringValueBuffer;
                        __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-id", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(2250, 34, true);
                        WriteLiteral("</td>\r\n                    </tr>\r\n");
                        EndContext();
#line 52 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Admin\Index.cshtml"
                    }

#line default
#line hidden
#line 52 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Admin\Index.cshtml"
                }

#line default
#line hidden
#line 53 "C:\Users\edgar\Documents\RepoGitHub\AdminUsuariosDemo\AdministradorUsuarios\Views\Admin\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(2329, 28, true);
            WriteLiteral("    </table>\r\n</div>\r\n\r\n\r\n\r\n");
            EndContext();
        }