public AllSynchronizer(IRemoteRepository remoteRepository) { _remoteRepository = remoteRepository; _skuSyncProcessor = new SkuSyncProcessor(); var storeSyncProcessor = new StoreSyncProcessor(_remoteRepository, _channelMapper); var sectionSyncProcessor = new SectionSyncProcessor(_remoteRepository, storeSyncProcessor, _channelMapper); _stockSyncProcessor = new StockSyncProcessor(sectionSyncProcessor); _productSyncProcessor = new ProductSyncProcessor(_remoteRepository, _channelMapper); _productPropertySyncProcessor = new ProductPropertySyncProcessor(_channelMapper); _productPropertySyncHandler = new ProductPropertySyncHandler(_channelMapper); _inventorySyncProcessor = new InventorySyncProcessor(); _brandSizeProcessor = new BrandSizeProcessor(); }
public SectionSyncJob() { _channelMapper = new ChannelMapper(); _storeSyncProcessor = new StoreSyncProcessor(_remoteRepository, _channelMapper); }