Added new endpoint to manage warehouse
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using Ardalis.Specification;
|
||||
using PyroFetes.Models;
|
||||
|
||||
namespace PyroFetes.Specifications.WareHouse;
|
||||
|
||||
public class GetWareHouseByIdSpec : SingleResultSpecification<Warehouse>
|
||||
{
|
||||
public GetWareHouseByIdSpec(int id)
|
||||
{
|
||||
Query
|
||||
.Where(x => x.Id == id);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user