public ProductCreator(ShopApiFactory apiFactory) { _apiFactory = apiFactory; _categoryProcessor = new CategoryProcessor(apiFactory); _combinationsProcessor = new CombinationsProcessor(apiFactory); _featureProcessor = new FeatureProcessor(apiFactory); _manufacturerProcessor = new ManufacturerProcessor(apiFactory); _supplierProcessor = new SupplierProcessor(apiFactory); _imageProcessor = new ImageProcessor(apiFactory); _stockProcessor = new StockProcessor(apiFactory); }
public ProductUpdater(ShopApiFactory apiFactory) { _apiFactory = apiFactory; _stockProcessor = new StockProcessor(apiFactory); }