public ActionResult PostOrder([FromBody] dynamic order) { BillsId = _orderRepository.AddBill("dan", order); _orderRepository.AddBillDetail(BillsId, order); decimal total = order.total; _orderRepository.EditBill(total, BillsId); return(NoContent()); }