Some fixes

This commit is contained in:
Cristiano
2026-03-26 15:35:11 +01:00
parent 3487baad87
commit 0312f02028
6 changed files with 10 additions and 6 deletions

View File

@@ -10,6 +10,7 @@ public class GetPurchaseOrderByIdWithProductsSpec : Specification<PurchaseOrder>
Query
.Where(p => p.Id == purchaseOrderId)
.Include(p => p.PurchaseProducts!)
.ThenInclude(pp => pp.Product);
.ThenInclude(pp => pp.Product)
.ThenInclude(pp=> pp!.Prices);
}
}
}