コード例 #1
0
 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;
 }
コード例 #2
0
 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;
 }