示例#1
0
        public async Task <ReceiptModel> Post([FromBody] OrderModel order)
        {
            await billingService.ProcessOrder(order);

            ReceiptModel receipt = order.CreateReceipt();

            return(receipt);
        }