/// <summary> /// Update the existing flight details /// </summary> /// <exception cref="FlightManagerException">Thorwn when unable to update a flight</exception> /// <param name="flight"></param> /// <returns>Retruns the status of the update of a flight</returns> public int UpdateFlight(Flight flight) { try { return(flightDAO.UpdateFlight(flight)); } catch (FlightDAOException ex) { throw new FlightManagerException("Unable to update flight", ex); } }