Ejemplo n.º 1
0
 public BasketController(
     IBasketService basketService,
     IOnlineOrderService orderService,
     IRepository <Customer> customers,
     IRepository <Payment> paymentContext
     )
 {
     this.basketService  = basketService;
     this.orderService   = orderService;
     this.customers      = customers;
     this.paymentContext = paymentContext;
 }
Ejemplo n.º 2
0
 public OnlineOrderManagerController(IOnlineOrderService orderService)
 {
     this.orderService = orderService;
 }