Example #1
0
 public OrderHandler(IClientRepository clientRepository, IDiskRepository diskRepository, IOrderRepository orderRepository, IOrderCashBackRepository orderCashBackRepository, ICashBackService cashBackService)
 {
     _clientRepository        = clientRepository;
     _diskRepository          = diskRepository;
     _orderRepository         = orderRepository;
     _orderCashBackRepository = orderCashBackRepository;
     _cashBackService         = cashBackService;
 }
Example #2
0
 public OrderController(
     IOrderRepository orderRepository,
     IOrderCashBackRepository orderCashBackRepository,
     OrderHandler handler)
 {
     _orderRepository         = orderRepository;
     _orderCashBackRepository = orderCashBackRepository;
     _handler = handler;
 }
Example #3
0
 public OrderCashBackHandler(IOrderCashBackRepository orderRepository, ICashBackService cashBackService)
 {
     _orderCashBackRepository = orderRepository;
     _cashBackService         = cashBackService;
 }