public IActionResult Logout() { try { CookieHelper.CleanCookies(_configuration, HttpContext.Response); return(NoContent()); } catch (Exception ex) { return(BadRequest(ex.Message)); } }