public static int UpdateAirport(object airportOBJ) { Airports airport = new Airports(); airport.Clone(airportOBJ); airport.Update(); return(airport.Id); }