Exemple #1
0
        public void CreateOrder(List <string> productIds, decimal unitPrice, string salesmanId)
        {
            IOrder order = _orderFacade.CreateOrder(productIds, unitPrice, salesmanId);

            _view.ShowOrderInfo(order.OrderId, order.GetQuantity(), order.GetTotalPrice());
        }
 public Guid CreateOrder([FromBody] OrderRequest request)
 {
     return(_orderFacade.CreateOrder(request));
 }