Files
MetaCourse/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/Quotations/GetQuotationByIdSpec.cs
T
2026-05-05 10:53:52 +02: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);
}
}