public AttributeGroupController(ICategoryRepository categoryRepository, ISubcategoryRepository subcategoryRepository, IProductRepository productRepository, IProductAttributeRepository productAttributeRepository, IAttributeGroupRepository attributeGroupRepository)
 {
     categoryRepo         = categoryRepository;
     subcategoryRepo      = subcategoryRepository;
     productRepo          = productRepository;
     productAttributeRepo = productAttributeRepository;
     attributeGroupRepo   = attributeGroupRepository;
 }
Esempio n. 2
0
 public SubcategoryRepository(ApplicationDbContext context,
                              SubcategoryFactory subcategoryFactory,
                              IAttributeGroupRepository attributeGroupRepository,
                              SignInManager <ApplicationUser> signInManager)
 {
     _ctx = context;
     _subcategoryFactory       = subcategoryFactory;
     _attributeGroupRepository = attributeGroupRepository;
     _signInManager            = signInManager;
 }
Esempio n. 3
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;
 }
        public AttributeGroupService(IAttributeGroupRepository attributeGroupRepository,
                                     IMapper mapper,
                                     IUnitOfWork unitOfWork)
        {
            _attributeGroupRepository = attributeGroupRepository;

            _mapper = mapper;

            _unitOfWork = unitOfWork;
        }
 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;
 }
Esempio n. 6
0
 public AddNewSubcategoryVC(ICategoryRepository categoryRepo, IAttributeGroupRepository attributeGroupRepo, ISubcategoryAttributeGroupRepository subcategoryAttributeGroupRepo)
 {
     _categoryRepo        = categoryRepo;
     _attrGroupRepo       = attributeGroupRepo;
     _subcatAttrGroupRepo = subcategoryAttributeGroupRepo;
 }
Esempio n. 7
0
 public AddNewProductAttributeVC(IAttributeGroupRepository attributeGroupRepository)
 {
     _attrGroupRepo = attributeGroupRepository;
 }
Esempio n. 8
0
 public AttributeGroupsController(IAttributeGroupRepository attributeGroupRepository)
 {
     _attributeGroupRepository = attributeGroupRepository;
 }
Esempio n. 9
0
 public AttributeGroupServices(IAttributeGroupRepository repository)
 {
     this.repository = repository;
     baseRepository  = repository;
 }