Added last endpoints for delivery Note

This commit is contained in:
Cristiano
2025-11-14 18:11:54 +01:00
parent d7cf245d35
commit 20bbccf883
7 changed files with 110 additions and 3 deletions

View File

@@ -0,0 +1,13 @@
using Ardalis.Specification;
using PyroFetes.Models;
namespace PyroFetes.Specifications.DeliveryNotes;
public sealed class GetDeliveryNoteByIdSpec : Specification<DeliveryNote>
{
public GetDeliveryNoteByIdSpec(int deliveryNoteId)
{
Query
.Where(x => x.Id == deliveryNoteId);
}
}