public TargetGroupService( SmartDbContext db, IRuleService ruleService, IStoreContext storeContext, LocalizedEntityHelper localizedEntityHelper) : base(RuleScope.Customer) { _db = db; _ruleService = ruleService; _storeContext = storeContext; _localizedEntityHelper = localizedEntityHelper; }
public ProductRuleProvider( ICommonServices services, IRuleService ruleService, ICatalogSearchService catalogSearchService, ICategoryService categoryService, LocalizedEntityHelper localizedEntityHelper, CatalogSettings catalogSettings) : base(RuleScope.Product) { _services = services; _ruleService = ruleService; _catalogSearchService = catalogSearchService; _categoryService = categoryService; _localizedEntityHelper = localizedEntityHelper; _catalogSettings = catalogSettings; }