Ejemplo n.º 1
0
        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)));
        }