コード例 #1
0
 public OrderController(OrderHistoryViewModelBuilder orderHistoryViewModelBuilder,
                        OrderViewModelBuilder orderViewModelBuilder,
                        OrderHistoryViewModelService orderHistoryViewModelService,
                        CartService cartService,
                        OrderConfirmationViewModelBuilder orderConfirmationViewModelBuilder)
 {
     _orderHistoryViewModelBuilder      = orderHistoryViewModelBuilder;
     _orderViewModelBuilder             = orderViewModelBuilder;
     _orderHistoryViewModelService      = orderHistoryViewModelService;
     _orderConfirmationViewModelBuilder = orderConfirmationViewModelBuilder;
     _cartService = cartService;
 }
コード例 #2
0
 public OrderController(
     OrderHistoryViewModelBuilder orderHistoryViewModelBuilder,
     OrderViewModelBuilder orderViewModelBuilder,
     OrderHistoryViewModelService orderHistoryViewModelService,
     OrderConfirmationViewModelBuilder orderConfirmationViewModelBuilder,
     ILogger <OrderController> logger)
 {
     _orderHistoryViewModelBuilder      = orderHistoryViewModelBuilder;
     _orderViewModelBuilder             = orderViewModelBuilder;
     _orderHistoryViewModelService      = orderHistoryViewModelService;
     _orderConfirmationViewModelBuilder = orderConfirmationViewModelBuilder;
     _logger = logger;
 }