public ActionResult EditAirplane(int id, AdminAirplane inAir) { if (ModelState.IsValid) { if (_AdminBll.editAirplane(id, inAir)) { return(RedirectToAction("ListAirplane")); } } return(RedirectToAction("Error")); }