Ejemplo n.º 1
0
 public ProductAttributeController(ICategoryRepository categoryRepository, ISubcategoryRepository subcategoryRepository, IProductRepository productRepository, IProductAttributeRepository productAttributeRepository)
 {
     categoryRepo         = categoryRepository;
     subcategoryRepo      = subcategoryRepository;
     productRepo          = productRepository;
     productAttributeRepo = productAttributeRepository;
 }
 // GET: /Admin/ProductType/
 public ProductAttributeController(IProductAttributeRepository _productAttributeRepository,
     IProductGroupAttributeRepository _productGroupAttributeRepository)
 {
     this.baseRepository = _productAttributeRepository;
     this.productAttributeRepository = _productAttributeRepository;
     this.productGroupAttributeRepository = _productGroupAttributeRepository;
 }
Ejemplo n.º 3
0
        // GET: /Admin/ProductType/

        public ProductAttributeController(IProductAttributeRepository _productAttributeRepository,
                                          IProductGroupAttributeRepository _productGroupAttributeRepository)
        {
            this.baseRepository                  = _productAttributeRepository;
            this.productAttributeRepository      = _productAttributeRepository;
            this.productGroupAttributeRepository = _productGroupAttributeRepository;
        }
 public CustomAttributeGroupController(
     IProductAttributeRepository productAttributeRepository,
     ICustomAttributeGroupOptionsRepository customAttributeGroupOptionsRepository)
 {
     productAttributeRepo            = productAttributeRepository;
     customAttributeGroupOptionsRepo = customAttributeGroupOptionsRepository;
 }
 public AttributeGroupController(ICategoryRepository categoryRepository, ISubcategoryRepository subcategoryRepository, IProductRepository productRepository, IProductAttributeRepository productAttributeRepository, IAttributeGroupRepository attributeGroupRepository)
 {
     categoryRepo         = categoryRepository;
     subcategoryRepo      = subcategoryRepository;
     productRepo          = productRepository;
     productAttributeRepo = productAttributeRepository;
     attributeGroupRepo   = attributeGroupRepository;
 }
 public ProductAttributeService(IProductAttributeRepository productAttributeRepository,
                                IProductAttributeStatusRepository productAttributeStatusRepository,
                                IUserRepository userRepository)
 {
     _productAttributeRepository       = productAttributeRepository;
     _productAttributeStatusRepository = productAttributeStatusRepository;
     _userRepository = userRepository;
 }
Ejemplo n.º 7
0
 public ProductController(ICategoryRepository categoryRepository, ISubcategoryRepository subcategoryRepository, IProductRepository productRepository, IProductAttributeRepository productAttributeRepository, ISubcategoryAttributeGroup subcategoryAttributeGroup, IAttributeGroupRepository attributeGroupRepository, IProductAttributeValueRepository productAttributeValueRepository)
 {
     categoryRepo      = categoryRepository;
     subcategoryRepo   = subcategoryRepository;
     productRepo       = productRepository;
     prodAttrRepo      = productAttributeRepository;
     subAttrGroupRepo  = subcategoryAttributeGroup;
     attrGroupRepo     = attributeGroupRepository;
     prodAttrValueRepo = productAttributeValueRepository;
 }
Ejemplo n.º 8
0
 public ProductService(IProductRepository productRepository, IProductPictureRepository productPictureRepository,
                       IUserRepository userRepository, IUserPhotoRepository userPhotoRepository,
                       IProductAttributeRepository productAttributeRepository, IProductStatusRepository productStatusRepository)
 {
     _productRepository          = productRepository;
     _productPictureRepository   = productPictureRepository;
     _userRepository             = userRepository;
     _userPhotoRepository        = userPhotoRepository;
     _productAttributeRepository = productAttributeRepository;
     _productStatusRepository    = productStatusRepository;
 }
Ejemplo n.º 9
0
 public AttributeValueService(IAttributeValueRepository attributeValueRepository,
                              IAttributeValueTranslationRepository attributeValueTranslationRepository,
                              IAttributeRepository attributeRepository,
                              IProductAttributeRepository productAttributeRepository,
                              IResourceService <SharedResource> sharedResourceService,
                              IResourceService <GhmWarehouseResource> warehouseResourceService
                              )
 {
     _attributeValueRepository            = attributeValueRepository;
     _attributeValueTranslationRepository = attributeValueTranslationRepository;
     _attributeRepository        = attributeRepository;
     _productAttributeRepository = productAttributeRepository;
     _sharedResourceService      = sharedResourceService;
     _warehouseResourceService   = warehouseResourceService;
 }
Ejemplo n.º 10
0
 public SubcategoryController(ICategoryRepository categoryRepository,
                              ISubcategoryRepository subcategoryRepository,
                              IProductRepository productRepository,
                              IProductAttributeRepository productAttributeRepository,
                              IAttributeGroupRepository attributeGroupRepository,
                              ISubcategoryAttributeGroup subcategoryAttributeGroupRepository,
                              ICustomAttributeGroupOptionsRepository customAttributeGroupRepository)
 {
     categoryRepo                  = categoryRepository;
     subcategoryRepo               = subcategoryRepository;
     productRepo                   = productRepository;
     productAttributeRepo          = productAttributeRepository;
     attributeGroupRepo            = attributeGroupRepository;
     subcategoryAttributeGroupRepo = subcategoryAttributeGroupRepository;
     customAttributeGroupRepo      = customAttributeGroupRepository;
 }
Ejemplo n.º 11
0
 /// <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;
 }
 public ProductAttributeController(IProductAttributeRepository productAttributeRepository, IProductAttributeCategoryRepository productAttributeCategoryRepository, IProductCategoryRepository productCategoryRepository)
 {
     _productAttributeRepository         = productAttributeRepository;
     _productAttributeCategoryRepository = productAttributeCategoryRepository;
     _productCategoryRepository          = productCategoryRepository;
 }
Ejemplo n.º 13
0
 public ProductAttributeService(IProductAttributeRepository productAttributeRepository, IPrincipal _principal)
 {
     _productAttributeRepository = productAttributeRepository;
     _specificClaim = new SpecificClaim(_principal);
 }
Ejemplo n.º 14
0
 public ProductAttributeController(IProductAttributeRepository productAttributeRepository)
 {
     _productAttrRepo = productAttributeRepository;
 }
 public ProductAttributeService(IProductAttributeRepository productAttributeRepository, IUnitOfWork unitOfWork)
 {
     this.productAttributeRepository = productAttributeRepository;
     this.unitOfWork = unitOfWork;
 }
Ejemplo n.º 16
0
 public ProductAttributeService(ICommandSender commandService, IProductAttributeRepository productAttributeRepository)
 {
     _commandService = commandService;
     _repository     = productAttributeRepository;
 }