public async Task <ActionResult <IEnumerable <Scope> > > Scopes(string resource)
        {
            var clients = await _apiResourceAppService.GetScopes(resource);

            return(ResponseGet(clients));
        }
示例#2
0
        public async Task <ActionResult <DefaultResponse <IEnumerable <ScopeViewModel> > > > Scopes(string name)
        {
            var clients = await _apiResourceAppService.GetScopes(name);

            return(Response(clients));
        }