public virtual async Task <PagedResultDto <IdentityResourceDto> > GetAsync(IdentityResourceGetByPagedInputDto identityResourceGetByPaged) { var identityResources = await IdentityResourceRepository.GetListAsync(identityResourceGetByPaged.Sorting, identityResourceGetByPaged.SkipCount, identityResourceGetByPaged.MaxResultCount, identityResourceGetByPaged.Filter, true); var identityResourceCount = await IdentityResourceRepository.GetCountAsync(); return(new PagedResultDto <IdentityResourceDto>(identityResourceCount, ObjectMapper.Map <List <IdentityResource>, List <IdentityResourceDto> >(identityResources))); }
public virtual async Task <PagedResultDto <IdentityResourceDto> > GetAsync(IdentityResourceGetByPagedInputDto identityResourceGetByPaged) { return(await IdentityResourceAppService.GetAsync(identityResourceGetByPaged)); }