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