public async Task <IActionResult> Logout() { await signInManager.SignOutAsync(); return(RedirectToPage("/Index")); }
public async Task <IActionResult> LogOff() { await ExternalSignInManager.SignOutAsync(); return(RedirectToAction("Index", "Home")); }