public async Task <ActionResult <IEnumerable <string> > > Search(string scope) { var scopes = await _apiScopeRepository.GetListByNameAsync(new[] { scope }, false); //return ResponseGet(clients); return(Ok(scopes.Select(x => x.Name))); }