示例#1
0
        public async Task <ActionResult> Logout()
        {
            HttpContext.Session.Clear();
            await _securityAdapter.Logout();

            return(RedirectToAction(nameof(HomeController.Index), "Home"));
        }