public async Task <IActionResult> Signout() { await _signInManager.SignOutAsync(); _logger.LogInformation("User logged out."); return(RedirectToAction(nameof(HomeController.Index), "Home")); }
public async Task <IActionResult> Logout() { await signInManager.SignOutAsync(); return(RedirectToAction("login", "account")); }