/// <summary> /// Ctor /// </summary> /// <param name="cacheManager">Cache manager</param> /// <param name="manufacturerRepository">Category repository</param> /// <param name="productManufacturerRepository">ProductCategory repository</param> /// <param name="productRepository">Product repository</param> /// <param name="aclRepository">ACL record repository</param> /// <param name="storeMappingRepository">Store mapping repository</param> /// <param name="workContext">Work context</param> /// <param name="storeContext">Store context</param> /// <param name="catalogSettings">Catalog settings</param> /// <param name="eventPublisher">Event published</param> public ManufacturerDomainService(ICacheManager cacheManager, IManufacturerRepository manufacturerRepository, IProductManufacturerRepository productManufacturerRepository, IProductRepository productRepository, //IRepository<AclRecord> aclRepository, IStoreMappingRepository storeMappingRepository, //IWorkContext workContext, IStoreContext storeContext //,CatalogSettings catalogSettings // ,IEventPublisher eventPublisher , SettingDomainService settingDomainService ) { this._cacheManager = cacheManager; this._manufacturerRepository = manufacturerRepository; this._productManufacturerRepository = productManufacturerRepository; this._productRepository = productRepository; //this._aclRepository = aclRepository; this._storeMappingRepository = storeMappingRepository; //this._workContext = workContext; this._storeContext = storeContext; //this._catalogSettings = catalogSettings; //this._eventPublisher = eventPublisher; _settingDomainService = settingDomainService; }
public ProductManufacturerService(IProductManufacturerRepository iProductManufacturerRepository) { this._iProductManufacturerRepository = iProductManufacturerRepository; }
public ProductManufacturerController(IMapper mapper, IProductManufacturerRepository repo, IAuthority auth) { _auth = auth; _repo = repo; _mapper = mapper; }