public async Task <ActionResult <IEnumerable <Scope> > > Scopes(string resource) { var clients = await _apiResourceAppService.GetScopes(resource); return(ResponseGet(clients)); }
public async Task <ActionResult <DefaultResponse <IEnumerable <ScopeViewModel> > > > Scopes(string name) { var clients = await _apiResourceAppService.GetScopes(name); return(Response(clients)); }