Refactor all code

This commit is contained in:
2026-05-24 17:22:03 +01:00
parent fe58e5e7e7
commit 656100d15e
117 changed files with 3317 additions and 1562 deletions
@@ -1,4 +1,3 @@
using AutoMapper;
using FastEndpoints;
using PyroFetes.DTO.Product.Response;
using PyroFetes.Repositories;
@@ -15,7 +14,7 @@ public class GetAllProductsUnderLimitEndpoint(ProductsRepository productsReposit
}
public override async Task HandleAsync(CancellationToken ct)
{
{
await Send.OkAsync(await productsRepository.ProjectToListAsync<GetProductDto>(new GetProductsUnderLimitSpec(), ct), ct);
}
}