Added new endpoint to manage warehouse

This commit is contained in:
2026-05-26 11:16:16 +01:00
parent b13b8ebfb6
commit ed59efe4f8
6 changed files with 57 additions and 6 deletions
@@ -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);
}
}