public static int?AddGeoDataToJourney(GeoData geoData, Journey journey) { var journeyToCompare = journey; if (!JourneyCollection.Instance.Exists(j => j == journeyToCompare)) { return(null); } if (geoData == null) { return(null); } journey.Add(geoData); return(journey.IndexOf(geoData)); }
//todo public static List <GeoData> LoadGeoDataFromJourney(Journey journey) { return(journey); }