public OrderController(IOrderRepository orderRepository, ICustomerRepository customerRepository, IPaymentTermProcessor paymentTermProcessor, IOrderViewModelSelectListBuilder orderViewModelSelectListBuilder, IOrderViewDataBuilder orderViewDataBuilder, IConverter <OrderViewModel, Order> orderViewModelConverter, ISuggestedValueRepository suggestedValueRepository) { _orderRepository = orderRepository; _customerRepository = customerRepository; _paymentTermProcessor = paymentTermProcessor; _orderViewModelSelectListBuilder = orderViewModelSelectListBuilder; _orderViewDataBuilder = orderViewDataBuilder; _orderViewModelConverter = orderViewModelConverter; _suggestedValueRepository = suggestedValueRepository; }
public OrderController(IOrderRepository orderRepository, ICustomerRepository customerRepository, IPaymentTermProcessor paymentTermProcessor, IOrderViewModelSelectListBuilder orderViewModelSelectListBuilder, IOrderViewDataBuilder orderViewDataBuilder, IConverter<OrderViewModel, Order> orderViewModelConverter, ISuggestedValueRepository suggestedValueRepository) { _orderRepository = orderRepository; _customerRepository = customerRepository; _paymentTermProcessor = paymentTermProcessor; _orderViewModelSelectListBuilder = orderViewModelSelectListBuilder; _orderViewDataBuilder = orderViewDataBuilder; _orderViewModelConverter = orderViewModelConverter; _suggestedValueRepository = suggestedValueRepository; }