public DeleteProductCommandHandler( IDefaultDbContext context, IDeleteProductService deleteService) { Context = context; DeleteService = deleteService; }
public ProductsController( ICreateProductService createProductService, IUpdateProductService updateProductService, IDeleteProductService deleteProductService, ICreateUnitService createUnitService) { _createProductService = createProductService; _updateProductService = updateProductService; _deleteProductService = deleteProductService; _createUnitService = createUnitService; }