Exemple #1
0
        public async Task <IActionResult> Logout()
        {
            await _usuarioManager.SignOut(this.HttpContext);

            return(RedirectToActionPermanent(controllerName: "Home", actionName: "Index"));
        }