public async Task <ActionResult> Logout() { HttpContext.Session.Clear(); await _securityAdapter.Logout(); return(RedirectToAction(nameof(HomeController.Index), "Home")); }