public GetApiScopesOutput GetApiScopes(GetApiScopesInput input) { return(new GetApiScopesOutput() { ApiScopes = _objectMapper.Map <List <ApiScopeDto> >(_apiScopeManager.GetApiScopes().ToList()) }); }
public async Task <GetApiScopesOutput> GetApiScopes(GetApiScopesInput input) { return(new GetApiScopesOutput() { ApiScopes = AutoMapper.Mapper.Map <List <ApiScopeDto> >(_apiScopeManager.GetApiScopes().ToList()) }); }