Files
pyrofetes-backend/PyroFetes/Specifications/DeliveryNotes/GetAllDeliveryNoteSpec.cs
2026-05-24 17:22:03 +01:00

16 lines
398 B
C#

using Ardalis.Specification;
using PyroFetes.Models;
namespace PyroFetes.Specifications.DeliveryNotes;
public class GetAllDeliveryNoteSpec : Specification<DeliveryNote>
{
public GetAllDeliveryNoteSpec()
{
Query
.Include(x => x.Deliverer)
.Include(x => x.ProductDeliveries)!
.ThenInclude(x => x.Product)
.Where(x => true);
}
}