public ProductService(IProductReadService productReadService, IProductWriteService productWriteService, ILogger logger) { _productReadService = productReadService; _productWriteService = productWriteService; _logger = logger.ForContext <ProductService>(); _lock = new object(); }
public ProductController(IProductReadService cartReader, IProductWriteService cartWriter) { this.cartReader = cartReader; this.cartWriter = cartWriter; }