forked from sanchezvem/PyroFetes
creating purchaseproduct's endpoint and fix error in dto
This commit is contained in:
@@ -12,7 +12,7 @@ public class DeletePurchaseOrderEndpoint(PyroFetesDbContext database) : Endpoint
|
||||
{
|
||||
public override void Configure()
|
||||
{
|
||||
Delete("/api/purchaseOrders/{Id:int}");
|
||||
Delete("/api/purchaseOrders/{Id}", x => new {x.Id});
|
||||
AllowAnonymous();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user