public ActionResult Update(int id) { var _flight = Repository.GetFlightById(id); return(View(_flight)); }