public ActionResult Update(Shipping s) { if (s == null) { return new HttpStatusCodeResult(HttpStatusCode.BadRequest); } if (s == null ) { return HttpNotFound(); } s.updateOrderStatus(); ModelState.Clear(); Shipping a = new Shipping(); a.ordersTable(); return View("Orders",a); }
public ActionResult Orders() { Shipping s = new Shipping(); s.ordersTable(); return View(s); }