public FindingsTableDto <FindingsForDeepZoomLinkTableRowDto> GetDefectsForDeepZoomLink(FindingsForDeepZoomLinkDataTableFilterModelDto findingsDataTableFilter) { var findingsQuery = _mapper.Map <FindingsQuery>(findingsDataTableFilter); var findings = _defectService.GetDefectsForBladePaged(findingsDataTableFilter.Id, findingsDataTableFilter.Surface, findingsDataTableFilter.InspectionId, findingsQuery); var findingsTableRowDtos = _mapper.Map <IEnumerable <DefectRowDto>, IEnumerable <FindingsForDeepZoomLinkTableRowDto> >(findings).ToList(); return(new FindingsTableDto <FindingsForDeepZoomLinkTableRowDto> { FindingsTableRows = findingsTableRowDtos, TotalRecords = findings.TotalCount }); }