Example #1
0
 public CheckoutController(ICartWebService cartWebService, IMenuWebService menuWebService, IOrderWebService orderWebService)
 {
     _cartWebService  = cartWebService;
     _menuWebService  = menuWebService;
     _orderWebService = orderWebService;
 }
Example #2
0
 public ProductController(IProductWebService productWebService, IMenuWebService menuWebService, ICartWebService cartWebService)
 {
     _productWebService = productWebService;
     _menuWebService    = menuWebService;
     _cartWebService    = cartWebService;
 }
 public CartController(ICartWebService cartWebService, IMenuWebService menuWebService)
 {
     _cartWebService = cartWebService;
     _menuWebService = menuWebService;
 }