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