Esempio n. 1
0
 public AffiliateAmazonTask(IRepository <ScheduleTask> taskRepository,
                            IAmazonService amazonService,
                            IProductAmazonService productAmazonService,
                            IStoreService storeService,
                            ISettingService settingService,
                            IWorkContext workContext,
                            IPluginFinder pluginFinder)
 {
     this._taskRepository       = taskRepository;
     this._amazonService        = amazonService;
     this._productAmazonService = productAmazonService;
     this._storeService         = storeService;
     this._settingService       = settingService;
     this._workContext          = workContext;
 }
Esempio n. 2
0
        public AffiliateAmazonController(IWorkContext workContext,
                                         IStoreContext storeContext,
                                         IStoreService storeService,
                                         ISettingService settingService,
                                         ILocalizationService localizationService,
                                         ICategoryAmazonService categoryAmazonService,
                                         ICategoryService categoryService,
                                         IProductService productService,
                                         IProductMappingService productMappingService,
                                         ICategoryMappingService categoryMappingService,
                                         IPictureService pictureService,
                                         ICurrencyService currencyService,

                                         IAffiliateAmazonImportManager importManager,
                                         IAmazonService amazonService,
                                         IProductAmazonService productAmazonService,
                                         IRepository <CategoryMapping> categoryMapRepo,
                                         IRepository <Product> productRepo,
                                         IRepository <ProductMapping> productMappingRepo,
                                         IRepository <Category> categoryRepo,
                                         IRepository <CategoryAmazon> categoryAmazonRepo,
                                         IScheduleTaskService schedualTaskService,
                                         IPluginFinder pluginFinder)
        {
            this._localizationService    = localizationService;
            this._settingService         = settingService;
            this._storeContext           = storeContext;
            this._storeService           = storeService;
            this._workContext            = workContext;
            this._categoryAmazonService  = categoryAmazonService;
            this._categoryService        = categoryService;
            this._productService         = productService;
            this._productMappingRepo     = productMappingRepo;
            this._productMappingService  = productMappingService;
            this._categoryMappingService = categoryMappingService;
            this._pictureService         = pictureService;
            this._currencyService        = currencyService;
            this._categoryMapRepo        = categoryMapRepo;
            this._productRepo            = productRepo;
            this._importManager          = importManager;
            this._amazonService          = amazonService;
            this._productAmazonService   = productAmazonService;

            this._categoryRepo       = categoryRepo;
            this._categoryAmazonRepo = categoryAmazonRepo;

            this._schedualTaskService = schedualTaskService;
        }