Exemplo n.º 1
0
        public static List<Framework.Data.Waypoint> GetWaypointsFromGeocache(Framework.Data.WaypointCollection wpCollection, string geocacheCode)
        {
            //grouping
            return wpCollection.GetWaypoints(geocacheCode);

            /*
            List<Framework.Data.Waypoint> result = null;

            result = (from Framework.Data.Waypoint wp in wpCollection
                      where wp.GeocacheCode == geocacheCode
                      select wp).ToList();

            return result;
             * */
        }