feat: added endpoint DeleteProduct

- fix: adapters package updated
- fix: status property renamed
This commit is contained in:
2025-08-05 22:14:27 -06:00
parent ab3863943d
commit b529d905b1
13 changed files with 133 additions and 8 deletions

View File

@@ -154,6 +154,10 @@ namespace Core.Inventory.Service.API.Extensions
services.AddScoped<IValidator<ChangeProductStatusRequest>, ChangeProductStatusValidator>();
services.AddScoped<IComponentHandler<ChangeProductStatusRequest>, ProductHandler>();
services.AddValidatorsFromAssemblyContaining<DeleteProductValidator>();
services.AddScoped<IValidator<DeleteProductRequest>, DeleteProductValidator>();
services.AddScoped<IComponentHandler<DeleteProductRequest>, ProductHandler>();
#endregion
return services;