Beispiel #1
0
 public ProductCatalogService(IProductRepository productRepository,
                              ISkuRepository skuRepository, IProductCacheService productCacheService)
 {
     _productRepository   = productRepository;
     _skuRepository       = skuRepository;
     _productCacheService = productCacheService;
 }
 public ProductsController(IProductRepository repository, ProductImageService productImageService, IProductCacheService productCacheService, IHubContext <NotifyHub> hubContext)
 {
     this.repository          = repository;
     this.productImageService = productImageService;
     this.productCacheService = productCacheService;
     this.hubContext          = hubContext;
 }
Beispiel #3
0
 public CustomerCartService(IMemoryCache memoryCache, IHubContext <NotifyHub> hubContext, IProductCacheService productCacheService)
 {
     this.memoryCache         = memoryCache;
     this.hubContext          = hubContext;
     this.productCacheService = productCacheService;
 }