public async Task <IActionResult> Logout([FromBody] ActionLogout data) { if (data.token == null || data.token == "") { return(NoContent()); } await RefreshTokenService.RevokeToken(data.token); return(Ok()); }