public virtual async Task <PagedResultDto <VersionDto> > GetAsync(VersionGetByPagedDto versionGetByPaged) { var versionCount = await _versionManager.GetCountAsync(versionGetByPaged.PlatformType, versionGetByPaged.Filter); var versions = await _versionManager.GetPagedListAsync(versionGetByPaged.PlatformType, versionGetByPaged.Filter, versionGetByPaged.Sorting, true, versionGetByPaged.SkipCount, versionGetByPaged.MaxResultCount); return(new PagedResultDto <VersionDto>(versionCount, ObjectMapper.Map <List <AppVersion>, List <VersionDto> >(versions))); }
public virtual async Task <PagedResultDto <VersionDto> > GetAsync(VersionGetByPagedDto versionGetByPaged) { return(await _versionAppService.GetAsync(versionGetByPaged)); }