Files
PyroFetes-Sujet1/PyroFetes/Specifications/Quotations/GetQuotationByIdSpec.cs
2025-11-20 14:34:09 +01:00

14 lines
341 B
C#

using Ardalis.Specification;
using PyroFetes.Models;
namespace PyroFetes.Specifications.Quotations;
public sealed class GetQuotationByIdSpec : Specification<Quotation>
{
public GetQuotationByIdSpec(int quotationId)
{
Query
.Include(q => q.QuotationProducts)
.Where(x => x.Id == quotationId);
}
}