Ejemplo n.º 1
0
 public ProductController(IProductsServiceAdapter service)
 {
     _service = service;
 }
 public ShoppingCartController(IShoppingCartServiceAdapter shoppingCart, IProductsServiceAdapter service)
 {
     _shoppingCart = shoppingCart;
     _service      = service;
 }
Ejemplo n.º 3
0
 public HomeController(ILogger <HomeController> logger, IProductsServiceAdapter service)
 {
     _logger  = logger;
     _service = service;
 }