public ProductService(IProductRepository productRepository, IProductScheduleRepository productScheduleRepository, IProductAttributeMappingRepository productAttributeMappingRepository, IUnitOfWork unitOfWork) { this.productRepository = productRepository; this.productAttributeMappingRepository = productAttributeMappingRepository; this.unitOfWork = unitOfWork; this.productScheduleRepository = productScheduleRepository; }
/// <summary> /// Ctor /// </summary> /// <param name="cacheManager">Cache manager</param> /// <param name="productAttributeRepository">Product attribute repository</param> /// <param name="productAttributeMappingRepository">Product attribute mapping repository</param> /// <param name="productAttributeCombinationRepository">Product attribute combination repository</param> /// <param name="productAttributeValueRepository">Product attribute value repository</param> /// <param name="predefinedProductAttributeValueRepository">Predefined product attribute value repository</param> /// <param name="eventPublisher">Event published</param> public ProductAttributeDomainService(ICacheManager cacheManager, IProductAttributeRepository productAttributeRepository, IProductAttributeMappingRepository productAttributeMappingRepository, IProductAttributeCombinationRepository productAttributeCombinationRepository, IProductAttributeValueRepository productAttributeValueRepository, IPredefinedProductAttributeValueRepository predefinedProductAttributeValueRepository //,IEventPublisher eventPublisher ) { this._cacheManager = cacheManager; this._productAttributeRepository = productAttributeRepository; this._productAttributeMappingRepository = productAttributeMappingRepository; this._productAttributeCombinationRepository = productAttributeCombinationRepository; this._productAttributeValueRepository = productAttributeValueRepository; this._predefinedProductAttributeValueRepository = predefinedProductAttributeValueRepository; //this._eventPublisher = eventPublisher; }