public async Task <IEnumerable <ScopeInfo> > GetScopesAsync() { var items = await _repository.ListAsync(new AllScopes()); return(items.Select(x => { return ToInfo(x); })); }
public async Task <IEnumerable <ScopeInfo> > GetScopesAsync() { var items = await _repository.ListAsync(new AllScopes()); return(items.Select(x => { return ToInfo(x); })); }