public ProductQuantityService(IProductQuantityRepository productQuantityRepository, IColorRepository colorRepository, ISizeRepository sizeRepository, IUnitOfWork unitOfWork)
 {
     _productQuantityRepository = productQuantityRepository;
     _sizeRepository            = sizeRepository;
     _colorRepository           = colorRepository;
     _unitOfWork = unitOfWork;
 }
 public ProductQuantityService(
     IProductQuantityRepository productQuantityRepository,
     IUnitOfWork unitOfWork)
 {
     _productQuantityRepository = productQuantityRepository;
     _unitOfWork = unitOfWork;
 }
Beispiel #3
0
 public void ProductInitialize()
 {
     _productRepository         = new ProductRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _productShoppingRepository = new ProductShoppingRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _productQuantityRepository = new ProductQuantityRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _productBL = new ProductImpl(_productRepository, _productShoppingRepository, _productQuantityRepository);
 }
Beispiel #4
0
 public ColorService(IColorRepository brandRepository,
                     IUnitOfWork unitOfWork,
                     IProductQuantityRepository productQuantityRepository)
 {
     _brandRepository           = brandRepository;
     _unitOfWork                = unitOfWork;
     _productQuantityRepository = productQuantityRepository;
 }
Beispiel #5
0
 public ProductService(IProductRepository productRepository, IProductTagRepository productTagRepository, ITagRepository tagRepository,
                       IProductQuantityRepository productQuantityRepository, IProductImageRepository productImageRepository, IUnitOfWork unitOfWork)
 {
     _productRepository         = productRepository;
     _productTagRepository      = productTagRepository;
     _tagRepository             = tagRepository;
     _productQuantityRepository = productQuantityRepository;
     _productImageRepository    = productImageRepository;
     _unitOfWork = unitOfWork;
 }
Beispiel #6
0
 public EducationShoppingImpl(IEducationShoppingRepository educationShoppingRepository, IOrderRepository orderRepository, IEducationShoppingTempRepository educationShoppingTempBL, IMyEducationRepository myEducationRepository, IMyEducationModuleRepository myEducationModuleRepository, IEducationModuleFileRepository educationModuleFileRepository, IProductShoppingTempRepository productShoppingTempRepository, IProductShoppingRepository productShoppingRepository, IProductQuantityRepository productQuantityRepository, IProductRepository productRepository)
 {
     _educationShoppingRepository   = educationShoppingRepository;
     _productShoppingTempRepository = productShoppingTempRepository;
     _productShoppingRepository     = productShoppingRepository;
     _orderRepository           = orderRepository;
     _educationShoppingTempBL   = new EducationShoppingTempImpl(educationShoppingTempBL, productShoppingTempRepository, myEducationRepository, _productRepository);
     _myEducatoinBL             = new MyEducationImpl(myEducationRepository, myEducationModuleRepository, educationModuleFileRepository);
     _productQuantityRepository = productQuantityRepository;
     _productRepository         = productRepository;
 }
 public ProductService(IProductRepository productRepository, IMapper mapper,
                       IProductQuantityRepository productQuantityRepository, IUnitOfWork unitOfWork,
                       IWholePriceRepository wholePriceRepository,
                       IProductImageRepository productImageRepository)
 {
     _productRepository         = productRepository;
     _productQuantityRepository = productQuantityRepository;
     _productImageRepository    = productImageRepository;
     _wholePriceRepository      = wholePriceRepository;
     _mapper     = mapper;
     _unitOfWork = unitOfWork;
 }
Beispiel #8
0
 public ProductService(IProductRepository productionRepository, IProductTagRepository productTagRepository, ITagRepository tagRepository, IUnitOfWork unitOfWork, IProductQuantityRepository productQuantityRepository, IProductImageRepository productImageRepository, IWholePriceRepository wholePriceRepository, IProductCategoryRepository categoryRepository, IRatingRepository ratingRepository, IProductQuantityRepository productQuantity)
 {
     _productRepository         = productionRepository;
     _productTagRepository      = productTagRepository;
     _tagRepository             = tagRepository;
     _unitOfWork                = unitOfWork;
     _productQuantityRepository = productQuantityRepository;
     _productImageRepository    = productImageRepository;
     _wholePriceRepository      = wholePriceRepository;
     _categoryRepository        = categoryRepository;
     _ratingRepository          = ratingRepository;
     _productQuantity           = productQuantity;
 }
 public ProductService(IProductRepository productRepository, ITagRepository tagRepository,
                       IProductQuantityRepository productQuantityRepository, IProductImageRepository productImageRepository,
                       IWholePriceRepository wholePriceRepository,
                       IProductTagRepository productTagRepository, IUnitOfWork unitOfWord)
 {
     _productRepository         = productRepository;
     _productQuantityRepository = productQuantityRepository;
     _productImageRepository    = productImageRepository;
     _wholePriceRepository      = wholePriceRepository;
     _tagRepository             = tagRepository;
     _productTagRepository      = productTagRepository;
     _unitOfWord = unitOfWord;
 }
Beispiel #10
0
 public ProductService(IProductRepository productRepository, ITagRepository tagRepository,
                       IProductCategoryRepository productCategoryRepository, IProductTagRepository productTagRepository,
                       IProductQuantityRepository productQuantityRepository, IProductImageRepository productImageRepository,
                       IWholePriceRepository wholePriceRepository, IUnitOfWork unitOfWork)
 {
     this.productCategoryRepository = productCategoryRepository;
     this.productRepository         = productRepository;
     this.tagRepository             = tagRepository;
     this.productTagRepository      = productTagRepository;
     this.productQuantityRepository = productQuantityRepository;
     this.productImageRepository    = productImageRepository;
     this.wholePriceRepository      = wholePriceRepository;
     this.unitOfWork = unitOfWork;
 }
 public ProductService(IProductRepository productRepository,
                       ITagRepository tagRepository,
                       IProductQuantityRepository productQuantityRepository,
                       IWholePriceRepository wholePriceRepository,
                       IUnitOfWork unitOfWork,
                       IProductTagRepository productTagRepository,
                       IProductCategoryRepository productCategoryRepository)
 {
     _productRepository         = productRepository;
     _tagRepository             = tagRepository;
     _productQuantityRepository = productQuantityRepository;
     _productTagRepository      = productTagRepository;
     _wholePriceRepository      = wholePriceRepository;
     _unitOfWork = unitOfWork;
     _productCategoryRepository = productCategoryRepository;
 }
 public void EducationInitialize()
 {
     _educationShoppingRepository = new EducationShoppingRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory<HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _productShopping = new ProductShoppingRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory<HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _productRepository = new ProductRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory<HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _productShoppingTemp = new ProductShoppingTempRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory<HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _order = new OrderRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory<HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _educationShoppingTemp = new EducationShoppingTempRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory<HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _myEducationRepository = new MyEducationRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory<HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _myEducationModuleRepository = new MyEducationModuleRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory<HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _productQuantityRepository = new ProductQuantityRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory<HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _educationShoppingBL = new EducationShoppingImpl(_educationShoppingRepository, _order,
                                        _educationShoppingTemp, _myEducationRepository,
                                              _myEducationModuleRepository, _educationModuleFileRepository, _productShoppingTemp, _productShopping, _productQuantityRepository, _productRepository);
     _educationModuleFileRepository = new EducationModuleFileRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory<HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
 }
Beispiel #13
0
 public BillService(IBillRepository orderRepository,
                    IBillDetailRepository orderDetailRepository,
                    IColorRepository colorRepository,
                    IProductRepository productRepository,
                    IPerfumeRepository perfumeRepository,
                    ISizeRepository sizeRepository,
                    IUnitOfWork unitOfWork,
                    IProductQuantityRepository productQuantityRepository)
 {
     _orderRepository           = orderRepository;
     _orderDetailRepository     = orderDetailRepository;
     _colorRepository           = colorRepository;
     _perfumeRepository         = perfumeRepository;
     _productRepository         = productRepository;
     _sizeRepository            = sizeRepository;
     _unitOfWork                = unitOfWork;
     _productQuantityRepository = productQuantityRepository;
 }
 public ProductService(IProductRepository productRepository, IUnitOfWork unitOfWork, IProductTagRepository productTagRepository,
                       ITagRepository tagRepository, IColorRepository colorRepository, ISizeRepository sizeRepository,
                       IProductQuantityRepository productQuantityRepository, IProductImageRepository productImageRepository,
                       IHostingEnvironment hostingEnvironment, IWholePriceRepository wholePriceRepository,
                       IProductCategoryRepository productCategoryRepository, IUserWishlistRepository userWishlistRepository)
 {
     this._productRepository         = productRepository;
     this._unitOfWork                = unitOfWork;
     this._productTagRepository      = productTagRepository;
     this._tagRepository             = tagRepository;
     this._colorRepository           = colorRepository;
     this._sizeRepository            = sizeRepository;
     this._productQuantityRepository = productQuantityRepository;
     this._productImageRepository    = productImageRepository;
     this._hostingEnvironment        = hostingEnvironment;
     this._wholePriceRepository      = wholePriceRepository;
     this._productCategoryRepository = productCategoryRepository;
     this._userWishlistRepository    = userWishlistRepository;
 }
 public ShippingPaymentImpl(IOrderRepository orderRepository
                            , IShippingPaymentRepository shippingPaymentRepository
                            , IMyEducationRepository myEducationRepository
                            , IEducationModuleFileRepository educationModuleFileRepository
                            , IMyEducationModuleRepository myEducationModuleRepository
                            , IEducationShoppingTempRepository educationShoppingTempRepository
                            , IEducationShoppingRepository educationShoppingRepository
                            , IProductShoppingRepository productShoppingRepository
                            , IProductShoppingTempRepository productShoppingTempRepository, IProductQuantityRepository productQuantityRepository
                            , IProductRepository productRepository)
 {
     _shippingPaymentRepository       = shippingPaymentRepository;
     _educationShoppingTempRepository = educationShoppingTempRepository;
     _educationShoppingRepository     = educationShoppingRepository;
     _productShoppingRepository       = productShoppingRepository;
     _orderRepository               = orderRepository;
     _myEducatoinBL                 = new MyEducationImpl(myEducationRepository, myEducationModuleRepository, educationModuleFileRepository);
     _educationShoppingTempBL       = new EducationShoppingTempImpl(_educationShoppingTempRepository, _productShoppingTempRepository, _myEducationRepository, _productRepository);
     _productShoppingTempRepository = productShoppingTempRepository;
     _productQuantityRepository     = productQuantityRepository;
     _productRepository             = productRepository;
 }
Beispiel #16
0
 public CommonService(IFooterRepository footerRepository,
                      ISystemConfigRepository systemConfigRepository,
                      IUnitOfWork unitOfWork,
                      ISlideRepository slideRepository,
                      ITagRepository tagRepository,
                      IAdvertistmentRepository advertistmentRepository,
                      IProductQuantityRepository productQuantityRepository,
                      IColorRepository colorRepository,
                      ISizeRepository sizeRepository,
                      IPerfumeRepository perfumeRepository)
 {
     _perfumeRepository         = perfumeRepository;
     _sizeRepository            = sizeRepository;
     _productQuantityRepository = productQuantityRepository;
     _colorRepository           = colorRepository;
     _footerRepository          = footerRepository;
     _unitOfWork              = unitOfWork;
     _systemConfigRepository  = systemConfigRepository;
     _slideRepository         = slideRepository;
     _tagRepository           = tagRepository;
     _advertistmentRepository = advertistmentRepository;
 }
 public ProductImpl(IProductRepository productRepository, IProductShoppingRepository productShoppingRepository, IProductQuantityRepository productQuantityRepository)
 {
     _productRepository         = productRepository;
     _productShoppingRepository = productShoppingRepository;
     _productQuantityRepository = productQuantityRepository;
 }
 public ProductQuantityService(IProductQuantityRepository quantityRepository)
 {
     _quantityRepository = quantityRepository;
 }