public ProductViewSoldDataUpdater( IProductViewCacheKeyProvider productViewCacheKeyProvider, IDistributedCache <ProductViewCacheItem> cache) { _productViewCacheKeyProvider = productViewCacheKeyProvider; _cache = cache; }
public ProductViewAppService( IProductViewCacheKeyProvider productViewCacheKeyProvider, IDistributedCache <ProductViewCacheItem> cache, IProductAppService productAppService, IProductViewRepository repository) : base(repository) { _productViewCacheKeyProvider = productViewCacheKeyProvider; _cache = cache; _productAppService = productAppService; _repository = repository; }
public ProductAppService( IProductManager productManager, IOptions <EShopProductsOptions> options, IDistributedCache <ProductViewCacheItem> cache, IProductInventoryProvider productInventoryProvider, IProductViewCacheKeyProvider productViewCacheKeyProvider, IAttributeOptionIdsSerializer attributeOptionIdsSerializer, IProductRepository repository) : base(repository) { _productManager = productManager; _cache = cache; _options = options.Value; _productInventoryProvider = productInventoryProvider; _productViewCacheKeyProvider = productViewCacheKeyProvider; _attributeOptionIdsSerializer = attributeOptionIdsSerializer; _repository = repository; }