public virtual async Task <PagedResultDto <IdentityUserDto> > GetMembersAsync(Guid id, GetOrganizationUnitMembersInput input) { var ou = await OrganizationUnitRepository.GetAsync(id, false); var count = await OrganizationUnitRepository.GetMembersCountAsync(ou, input.Filter); var members = await OrganizationUnitRepository.GetMembersAsync(ou, input.Sorting, input.MaxResultCount, input.SkipCount, input.Filter); return(new PagedResultDto <IdentityUserDto>(count, ObjectMapper.Map <List <IdentityUser>, List <IdentityUserDto> >(members) )); }