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;
 }
Exemplo n.º 2
0
 public ManageProductPackageController(UsersAccessRepository usersAccessRepository,
                                       ProductRepostitory productRepostitory,
                                       ProductPackageDetailsRepostitory productPackageDetailsRepostitory,
                                       ProductPackageRepostitory productPackageRepostitory,
                                       PackageUserAnswerRepository packageUserAnswerRepository,
                                       ProductGroupRepository productGroupRepository,
                                       ProductPackageGroupRepository productPackageGroupRepository) : base(usersAccessRepository)
 {
     _productRepostitory = productRepostitory;
     _productPackageDetailsRepostitory = productPackageDetailsRepostitory;
     _productPackageRepostitory        = productPackageRepostitory;
     _packageUserAnswerRepository      = packageUserAnswerRepository;
     _productGroupRepository           = productGroupRepository;
     _productPackageGroupRepository    = productPackageGroupRepository;
 }