Beispiel #1
0
 public ProductService(IProductRepository productRepository, IProductScheduleRepository productScheduleRepository, IProductAttributeMappingRepository productAttributeMappingRepository, IUnitOfWork unitOfWork)
 {
     this.productRepository = productRepository;
     this.productAttributeMappingRepository = productAttributeMappingRepository;
     this.unitOfWork = unitOfWork;
     this.productScheduleRepository = productScheduleRepository;
 }
Beispiel #2
0
 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();
 }
Beispiel #4
0
 public ProductScheduleService(IProductScheduleRepository productScheduleRepository, IUnitOfWork unitOfWork)
 {
     this.productScheduleRepository = productScheduleRepository;
     this.unitOfWork = unitOfWork;
 }