public ActionResult EditFlight(int id, Flight flight)
 {
     try
     {
         if (flightDAO.EditFlight(id, flight))
         {
             return(RedirectToAction("GetAllRoutes"));
         }
         else
         {
             return(View("EditFlight"));
         }
     }
     catch
     {
         return(View("EditFlight"));
     }
 }