public ProductService(IProductRepository productRepository, IProductScheduleRepository productScheduleRepository, IProductAttributeMappingRepository productAttributeMappingRepository, IUnitOfWork unitOfWork) { this.productRepository = productRepository; this.productAttributeMappingRepository = productAttributeMappingRepository; this.unitOfWork = unitOfWork; this.productScheduleRepository = productScheduleRepository; }
public ProductService(IProductRepository repository) { _repository = repository; _companyRepository = new CompanyRepository(); _productCompanyRepo = new ProductCompanyRepository(); _productgroupRepo = new ProductGroupRepository(); _productScheduleRepo = new ProductScheduleRepository(); }
public ProductScheduleService(IProductScheduleRepository repository) { _repository = repository; _productRepository = new ProductRepository(); }
public ProductScheduleService(IProductScheduleRepository productScheduleRepository, IUnitOfWork unitOfWork) { this.productScheduleRepository = productScheduleRepository; this.unitOfWork = unitOfWork; }