Example #1
0
 public OrderController(IProductManager productManager,
                        IOrderManager orderManager,
                        IMapper mapper,
                        ICustomerManager customerManager,
                        IOrderDetailManager detailManager)
 {
     _mapper          = mapper;
     _productManager  = productManager;
     _orderManager    = orderManager;
     _customerManager = customerManager;
     _detailManager   = detailManager;
 }
 public OrderController(IOrderManager orderManager, IOrderDetailManager orderDetailManager)
 {
     _orderManager       = orderManager;
     _orderDetailManager = orderDetailManager;
 }