public virtual async Task <PagedResultDto <IdentityUserDto> > GetListAsync(GetIdentityUsersInput input)
        {
            var count = await UserRepository.GetCountAsync(input.Filter);

            var list = await UserRepository.GetListAsync(input.Sorting, input.MaxResultCount, input.SkipCount, input.Filter);

            return(new PagedResultDto <IdentityUserDto> (
                       count,
                       ObjectMapper.Map <List <IdentityUser>, List <IdentityUserDto> > (list)
                       ));
        }
Example #2
0
 public virtual Task <PagedResultDto <IdentityUserDto> > GetListAsync(GetIdentityUsersInput input)
 {
     return(UserAppService.GetListAsync(input));
 }