Files
pyrofetes-backend/PyroFetes/Specifications/QuotationProducts/GetQuotationProductByProductIdAndQuotationIdSpec.cs
T
2026-05-24 17:22:03 +01:00

13 lines
428 B
C#

using Ardalis.Specification;
using PyroFetes.Models;
namespace PyroFetes.Specifications.QuotationProducts;
public sealed class GetQuotationProductByProductIdAndQuotationIdSpec : SingleResultSpecification<QuotationProduct>
{
public GetQuotationProductByProductIdAndQuotationIdSpec(int productId, int quotationId)
{
Query
.Where(x => x.ProductId == productId && x.QuotationId == quotationId);
}
}