public virtual async Task <PagedResultDto <IdentityUserDto> > GetUnaddedUsersAsync(Guid id, OrganizationUnitGetUnaddedUserByPagedDto input) { var origanizationUnit = await OrganizationUnitRepository.GetAsync(id); var origanizationUnitUserCount = await OrganizationUnitRepository .GetUnaddedUsersCountAsync(origanizationUnit, input.Filter); var origanizationUnitUsers = await OrganizationUnitRepository .GetUnaddedUsersAsync(origanizationUnit, input.Sorting, input.MaxResultCount, input.SkipCount, input.Filter); return(new PagedResultDto <IdentityUserDto>(origanizationUnitUserCount, ObjectMapper.Map <List <IdentityUser>, List <IdentityUserDto> >(origanizationUnitUsers))); }
public virtual async Task <PagedResultDto <IdentityUserDto> > GetUnaddedUsersAsync(Guid id, OrganizationUnitGetUnaddedUserByPagedDto input) { return(await OrganizationUnitAppService.GetUnaddedUsersAsync(id, input)); }