Пример #1
0
        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));
        }
Пример #2
0
 //todo
 public static List <GeoData> LoadGeoDataFromJourney(Journey journey)
 {
     return(journey);
 }