public IActionResult Logout() { try { var userName = User.Identity.Name; _jwtAuthManager.RemoveRefreshTokenByUsername(userName); return(Ok()); } catch (Exception ex) { return(Unauthorized(ex.Message)); } }