public ActionResult Mark_As_Packed(string id) { if (id == null) { return(RedirectToAction("Bad_Request", "Error")); } if (order_Service.GetOrder(id) != null) { order_Service.MarkOrderAsPacked(id); return(RedirectToAction("Order_Details", new { id = id })); } else { return(RedirectToAction("Not_Found", "Error")); } }