public ProductController(ProductRepostitory productRepostitory,
                          ProductDiscountRepository productDiscountRepository,
                          IConfiguration Configuration,
                          ProductGalleryRepository productGalleryRepository,
                          ProductPackageRepostitory productPackageRepostitory,
                          ProductGroupRepository productGroupRepository,
                          ProductFeatureRepository productFeatureRepository,
                          FeatureItemRepository featureItemRepository,
                          ProductGroupFeatureRepository productGroupFeatureRepository,
                          ProductPackageGroupRepository productPackageGroupRepository,
                          ProductPackageDetailsRepostitory productPackageDetailsRepostitory,
                          ProductUnitRepository productUnitRepository)
 {
     _productRepository         = productRepostitory;
     _productDiscountRepository = productDiscountRepository;
     configuration                     = Configuration;
     _productGalleryRepository         = productGalleryRepository;
     _productPackageRepostitory        = productPackageRepostitory;
     _productGroupRepository           = productGroupRepository;
     _productFeatureRepository         = productFeatureRepository;
     _featureItemRepository            = featureItemRepository;
     _productGroupFeatureRepository    = productGroupFeatureRepository;
     _productPackageGroupRepository    = productPackageGroupRepository;
     _productPackageDetailsRepostitory = productPackageDetailsRepostitory;
     _productUnitRepository            = productUnitRepository;
 }
示例#2
0
 public ManageFeatureController(FeatureRepository featureRepository
                                , FeatureItemRepository featureItemRepository
                                , UsersAccessRepository usersAccessRepository,
                                ProductGroupFeatureRepository productGroupFeatureRepository,
                                ProductFeatureRepository productFeatureRepository) : base(usersAccessRepository)
 {
     _featureRepository             = featureRepository;
     _featureItemRepository         = featureItemRepository;
     _productGroupFeatureRepository = productGroupFeatureRepository;
     _productFeatureRepository      = productFeatureRepository;
 }
 public ManageProductGroupDependencyController(UsersAccessRepository usersAccessRepository,
                                               ProductGroupDependenciesRepository productGroupDependenciesRepository,
                                               ProductGroupRepository productGroupRepository,
                                               FeatureRepository featureRepository,
                                               ConditionRepository conditionRepository,
                                               ProductGroupFeatureRepository productGroupFeatureRepository,
                                               FeatureItemRepository featureItemRepository
                                               ) : base(usersAccessRepository)
 {
     _productGroupDependenciesRepository = productGroupDependenciesRepository;
     _productGroupRepository             = productGroupRepository;
     _featureRepository             = featureRepository;
     _conditionRepository           = conditionRepository;
     _productGroupFeatureRepository = productGroupFeatureRepository;
     _featureItemRepository         = featureItemRepository;
 }