public async Task <IActionResult> SearchScopes(string scope, int limit = 0) { var apiScope = await _apiScopeService.GetScopesAsync(scope, limit); var identityResource = await _identityResourceService.GetResourcesAsync(scope, limit); return(Ok(apiScope.Union(identityResource).Distinct())); }