public OrderCreatedEventHandler( ICheckProductStockService checkProductStockService, IUpdateProductService updateProductService, IMessagePublisher messagePublisher, ILogger <OrderCreatedEventHandler> logger) { _checkProductStockService = checkProductStockService; _updateProductService = updateProductService; _messagePublisher = messagePublisher; _logger = logger; }
public ProductsController( ICreateProductService createProductService, IUpdateProductService updateProductService, IDeleteProductService deleteProductService, ICreateUnitService createUnitService) { _createProductService = createProductService; _updateProductService = updateProductService; _deleteProductService = deleteProductService; _createUnitService = createUnitService; }