public ActionResult LogoutUser() { var token = _tokenManager.ExtractToken(Request); var logoutSuccess = _tokenManager.DestroyUserTokens(token); if (logoutSuccess) { return(Ok()); } return(StatusCode(401, SystemResources.INVALID_TOKEN_MESSAGE)); }