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