Exemplo n.º 1
0
 public PickupItemService(
     IDeletableEntityRepository <PickupItem> pickupItemRepository,
     IOrderService orderService,
     IOrderDishService orderDishService,
     IOrderDrinkService orderDrinkService)
 {
     this.pickupItemRepository = pickupItemRepository;
     this.orderService         = orderService;
     this.orderDishService     = orderDishService;
     this.orderDrinkService    = orderDrinkService;
 }
Exemplo n.º 2
0
 public OrderService(
     IDeletableEntityRepository <Order> orderRepository,
     IBasketService basketService,
     ITableService tableService,
     IDishTypeService dishTypeService,
     IPromoCodeService promoCodeService,
     IOrderDishService orderDishService,
     IOrderDrinkService orderDrinkService
     )
 {
     this.orderRepository   = orderRepository;
     this.basketService     = basketService;
     this.tableService      = tableService;
     this.dishTypeService   = dishTypeService;
     this.promoCodeService  = promoCodeService;
     this.orderDishService  = orderDishService;
     this.orderDrinkService = orderDrinkService;
 }