0
troyfernando created
var estimateSubPortions = from o in pagedAndFilteredEstimateSubPortions
select new GetEstimateSubPortionForViewDto()
{
EstimateSubPortion = new EstimateSubPortionDto
{
EstimateHdId = o.EstimateHdId,
PortionId = o.PortionId,
ItemNo = o.ItemNo,
SubPortDesc = o.SubPortDesc,
Area = o.Area,
TotalMaterials = o.TotalMaterials,
TotalLabor = o.TotalLabor,
TotalOthMat = o.TotalOthMat,
Id = o.Id
}
};
var totalCount = await filteredEstimateSubPortions.CountAsync();
**** error here below first time it loads afterwards it's ok *****
return new PagedResultDto<GetEstimateSubPortionForViewDto>(
totalCount,
await estimateSubPortions.ToListAsync()
);
No answer yet!
Showing 176 to 200 of 26 entries.