public ActionResult NonQuery(Order order) { repo.NonQueryInsertOrder(order.CustomerID, order.ShipName, order.ShipCity, order.ShipCountry); order = repo.GetLatestOrder(); return View(order); }
public ActionResult NonQuery() { Order o = new Order(); return View(o); }