forked from sanchezvem/PyroFetes
Added last endpoints for delivery Note
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user