public virtual async Task <PagedResultDto <OrganizationUnitDto> > GetListAsync(OrganizationUnitGetByPagedDto input)
        {
            var origanizationUnitCount = await OrganizationUnitRepository.GetCountAsync();

            var origanizationUnits = await OrganizationUnitRepository
                                     .GetListAsync(input.Sorting, input.MaxResultCount, input.SkipCount, false);

            return(new PagedResultDto <OrganizationUnitDto>(origanizationUnitCount,
                                                            ObjectMapper.Map <List <OrganizationUnit>, List <OrganizationUnitDto> >(origanizationUnits)));
        }
 public virtual async Task <PagedResultDto <OrganizationUnitDto> > GetListAsync(OrganizationUnitGetByPagedDto input)
 {
     return(await OrganizationUnitAppService.GetListAsync(input));
 }