public virtual async Task <PagedResultDto <IdentityClaimTypeDto> > GetListAsync(IdentityClaimTypeGetByPagedDto input)
        {
            var identityClaimTypeCount = await IdentityClaimTypeRepository.GetCountAsync(input.Filter);

            var identityClaimTypes = await IdentityClaimTypeRepository
                                     .GetListAsync(input.Sorting, input.MaxResultCount, input.SkipCount, input.Filter);

            return(new PagedResultDto <IdentityClaimTypeDto>(identityClaimTypeCount,
                                                             ObjectMapper.Map <List <IdentityClaimType>, List <IdentityClaimTypeDto> >(identityClaimTypes)));
        }
예제 #2
0
 public virtual async Task <PagedResultDto <IdentityClaimTypeDto> > GetListAsync(IdentityClaimTypeGetByPagedDto input)
 {
     return(await IdentityClaimTypeAppService.GetListAsync(input));
 }