public OrderController(OrderHistoryViewModelBuilder orderHistoryViewModelBuilder, OrderViewModelBuilder orderViewModelBuilder, OrderHistoryViewModelService orderHistoryViewModelService, CartService cartService, OrderConfirmationViewModelBuilder orderConfirmationViewModelBuilder) { _orderHistoryViewModelBuilder = orderHistoryViewModelBuilder; _orderViewModelBuilder = orderViewModelBuilder; _orderHistoryViewModelService = orderHistoryViewModelService; _orderConfirmationViewModelBuilder = orderConfirmationViewModelBuilder; _cartService = cartService; }
public OrderController( OrderHistoryViewModelBuilder orderHistoryViewModelBuilder, OrderViewModelBuilder orderViewModelBuilder, OrderHistoryViewModelService orderHistoryViewModelService, OrderConfirmationViewModelBuilder orderConfirmationViewModelBuilder, ILogger <OrderController> logger) { _orderHistoryViewModelBuilder = orderHistoryViewModelBuilder; _orderViewModelBuilder = orderViewModelBuilder; _orderHistoryViewModelService = orderHistoryViewModelService; _orderConfirmationViewModelBuilder = orderConfirmationViewModelBuilder; _logger = logger; }