public async Task <PagedResultDto <IdentityClaimTypeDto> > GetListAsync(GetIdentityClaimTypeInput input) { var claimTypes = await ClaimTypeRepository.GetListAsync(input.Sorting, input.MaxResultCount, input.SkipCount, input.Filter); var totalCount = await ClaimTypeRepository.GetCountAsync(); return(new PagedResultDto <IdentityClaimTypeDto>(totalCount, ObjectMapper.Map <List <IdentityClaimType>, List <IdentityClaimTypeDto> >(claimTypes))); }
public async Task <PagedResultDto <IdentityClaimTypeDto> > GetListAsync(GetIdentityClaimTypeInput input) { return(await ClaimTypeAppService.GetListAsync(input)); }