Esempio n. 1
0
 public ProductService(IProductRepository productRepository, ITagRepository tagRepository, IProductTagRepository productTagRepository, IProductQuantityRepository productQuantityRepository, IProductImageRepository productImageRepository, IWholePriceRepository wholePriceRepository, IUnitOfWork unitOfWork)
 {
     _productRepository         = productRepository;
     _tagRepository             = tagRepository;
     _productTagRepository      = productTagRepository;
     _productQuantityRepository = productQuantityRepository;
     _productImageRepository    = productImageRepository;
     _wholePriceRepository      = wholePriceRepository;
     _unitOfWork = unitOfWork;
 }
Esempio n. 2
0
 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;
 }
Esempio n. 3
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;
 }
Esempio n. 4
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, 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;
 }