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

@@ -8,6 +8,7 @@ public sealed class GetProductByIdSpec : Specification<Product>
public GetProductByIdSpec(int? productId)
{
Query
.Where(p => p.Id == productId);
.Where(p => p.Id == productId)
.Include(p => p.Prices);
}
}