コード例 #1
0
 public ActionResult NewOrderDetail(OrderDetail orderDetail)
 {
     orderDetail.NewOrderDetail();
     int ID = orderDetail.OrderID;
     var model = OrderIn.GetOrderDetail(ID);
     return View("Details",model);
 }
コード例 #2
0
 public ActionResult NewOrderDetail(string id)
 {
     int ID = int.Parse(id);
     OrderDetail OrderDetail = new OrderDetail();
     OrderDetail.OrderID = ID;
     return View(OrderDetail);
 }