public CustomerReviewSearchService( Func <ICustomerReviewRepository> repositoryFactory, ICustomerReviewService customerReviewService) { _repositoryFactory = repositoryFactory; _customerReviewService = customerReviewService; }
public CustomerReviewsModuleController(ICustomerReviewSearchService customerReviewSearchService, ICustomerReviewService customerReviewService, ICustomerReviewEvaluationService customerReviewEvaluationService, IProductRatingService productRatingService) { _customerReviewSearchService = customerReviewSearchService; _customerReviewService = customerReviewService; _customerReviewEvaluationService = customerReviewEvaluationService; _productRatiingService = productRatingService; }
public CustomerReviewsExportPagedDataSourceFactory(ICustomerReviewSearchService searchService, ICustomerReviewService customerReviewService, IItemService itemService, IBlobUrlResolver blobUrlResolver) { _searchService = searchService; _customerReviewService = customerReviewService; _itemService = itemService; _blobUrlResolver = blobUrlResolver; }
public CustomerReviewsModuleController( ICustomerReviewSearchService customerReviewSearchService, ICustomerReviewService customerReviewService) { _customerReviewSearchService = customerReviewSearchService; _customerReviewService = customerReviewService; }
public ApiCustomerReviewsController( IWorkContextAccessor workContextAccessor, IStorefrontUrlBuilder urlBuilder, ICustomerReviewService customerReviewService) : base(workContextAccessor, urlBuilder) { _customerReviewService = customerReviewService; }
public CustomerReviewsController(ICustomerReviewSearchService customerReviewSearchService, ICustomerReviewService customerReviewService, IAverageProductRateSearchService averageProductRateSearchService) { _customerReviewSearchService = customerReviewSearchService; _customerReviewService = customerReviewService; _averageProductRateSearchService = averageProductRateSearchService; }
public CustomerReviewsController( ICustomerReviewSearchService customerReviewSearchService, ICustomerReviewService customerReviewService, IFavoritePropertyService favoritePropertyService) { _customerReviewSearchService = customerReviewSearchService; _customerReviewService = customerReviewService; _favoritePropertyService = favoritePropertyService; }
public ApiCatalogController( IWorkContextAccessor workContextAccessor, IStorefrontUrlBuilder urlBuilder, ICatalogService catalogSearchService, ICustomerReviewService customerReviewService) : base(workContextAccessor, urlBuilder) { _catalogService = catalogSearchService; _customerReviewService = customerReviewService; }
public CustomerReviewExportPagedDataSource( ICustomerReviewSearchService searchService, ICustomerReviewService customerReviewService, IItemService itemService, IBlobUrlResolver blobUrlResolver, CustomerReviewExportDataQuery dataQuery) : base(dataQuery) { _searchService = searchService; _customerReviewService = customerReviewService; _itemService = itemService; _blobUrlResolver = blobUrlResolver; _dataQuery = dataQuery; }
public CatalogService(IWorkContextAccessor workContextAccessor, ICatalogModuleCategories categoriesApi, ICatalogModuleProducts productsApi, ICatalogModuleSearch searchApi, IPricingService pricingService, IMemberService customerService, ISubscriptionService subscriptionService, IInventoryService inventoryService, IStorefrontMemoryCache memoryCache, IApiChangesWatcher changesWatcher, ICustomerReviewService customerReviewService) { _workContextAccessor = workContextAccessor; _categoriesApi = categoriesApi; _productsApi = productsApi; _searchApi = searchApi; _categoriesApi = categoriesApi; _pricingService = pricingService; _inventoryService = inventoryService; _customerService = customerService; _subscriptionService = subscriptionService; _memoryCache = memoryCache; _apiChangesWatcher = changesWatcher; _customerReviewService = customerReviewService; }
private void Init() { _customerReviewRepoMock = new Mock <Func <ICustomerReviewRepository> >(); _ratingServiceMock = new Mock <IRatingService>(); _customerReviewService = new CustomerReviewService(_customerReviewRepoMock.Object, _ratingServiceMock.Object); _customerReviewSearchService = new CustomerReviewSearchService(_customerReviewRepoMock.Object, _customerReviewService); var customers = new List <CustomerReviewEntity> { new CustomerReviewEntity { Id = _testCustomerId, ProductId = _testProductId, IsActive = true } }.AsQueryable(); _customerReviewRepoMock.Setup(c => c().CustomerReviews).Returns(customers); _customerReviewRepoMock.Setup(c => c().UnitOfWork.Commit()).Returns(1); }
public CustomerReviewSearchService(Func <ICustomerReviewRepository> repositoryFactory, IPlatformMemoryCache platformMemoryCache, ICustomerReviewService customerReviewService) { _repositoryFactory = repositoryFactory; _platformMemoryCache = platformMemoryCache; _customerReviewService = customerReviewService; }
public CustomerReviewsServiceTests() { _repositoryFactory = new Mock <ICustomerReviewRepository>(MockBehavior.Loose); _customerReviewService = new CustomerReviewService(() => _repositoryFactory.Object); }
public RecalculateProductsRatingsJob(ICustomerReviewService customerReviewService, IProductRatingCalc ratingCalculator, IProductRatingService productRatingService) { _customerReviewService = customerReviewService; _ratingCalculator = ratingCalculator; _productRatingService = productRatingService; }
public CustomerReviewSearchService(Func <ICustomerReviewRepository> repositoryFactory, IPlatformMemoryCache platformMemoryCache, ICustomerReviewService customerReviewService) : base(repositoryFactory, platformMemoryCache, (ICrudService <CustomerReview>)customerReviewService) { }
public CustomerReviewsController(ICustomerReviewService customerReviewService) { _customerReviewService = customerReviewService; }
public CustomerReviewsController(ICustomerReviewSearchService customerReviewSearchService, ICustomerReviewService customerReviewService, IProductRatingService productRatingService) { _customerReviewSearchService = customerReviewSearchService; _customerReviewService = customerReviewService; _productRatingService = productRatingService; }