コード例 #1
0
 public ProductService(IProductRepository productRepository, IProductScheduleRepository productScheduleRepository, IProductAttributeMappingRepository productAttributeMappingRepository, IUnitOfWork unitOfWork)
 {
     this.productRepository = productRepository;
     this.productAttributeMappingRepository = productAttributeMappingRepository;
     this.unitOfWork = unitOfWork;
     this.productScheduleRepository = productScheduleRepository;
 }
コード例 #2
0
ファイル: ProductService.cs プロジェクト: gitAakash/OMS
 public ProductService(IProductRepository repository)
 {
     _repository = repository;
     _companyRepository = new CompanyRepository();
     _productCompanyRepo = new ProductCompanyRepository();
     _productgroupRepo = new ProductGroupRepository();
     _productScheduleRepo = new ProductScheduleRepository();
 }
コード例 #3
0
 public ProductScheduleService(IProductScheduleRepository repository)
 {
     _repository = repository;
     _productRepository = new ProductRepository();
 }
コード例 #4
0
 public ProductScheduleService(IProductScheduleRepository productScheduleRepository, IUnitOfWork unitOfWork)
 {
     this.productScheduleRepository = productScheduleRepository;
     this.unitOfWork = unitOfWork;
 }