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