public ProductCommandHandler(
     IProductRepository productRepository,
     IMembershipRepository membershipRepository,
     IStoreRepository storeRepository,
     IProductCommentRepository productCommentRepository,
     IProductRatingRepository productRatingRepository,
     IDiscountRepository discountRepository,
     IUnitOfWork unitOfWork,
     ILogger logger,
     ICacheManager cacheManager)
 {
     _productRepository        = productRepository;
     _membershipRepository     = membershipRepository;
     _storeRepository          = storeRepository;
     _productCommentRepository = productCommentRepository;
     _unitOfWork              = unitOfWork;
     _logger                  = logger;
     _cacheManager            = cacheManager;
     _productRatingRepository = productRatingRepository;
     _discountRepository      = discountRepository;
 }
Beispiel #2
0
 public ProductService(IProductRepository productRepository, IProductCommentRepository productCommentRepository)
 {
     _productRepository        = productRepository;
     _productCommentRepository = productCommentRepository;
 }