Пример #1
0
        public async Task <IActionResult> Logout()
        {
            await HttpContext.SignOutAsync();

            userCacheService.Clear();
            return(RedirectToAction("Index", "Login"));
        }