public AirportStatus ConvertAirport(IAirport airport) { IEnumerable <Station> stations = airport.GetStations(); string name = airport.Name; string url = airport.ImageUrl; List <Route> routes = airport.Routes; return(new AirportStatus(stations, name, url, routes)); }