private static void ImportDiscoveries() { XDocument xmlData = XDocument.Load("../../../Resources/discoveries.xml"); xmlData.Root.Elements().ToList().ForEach(discovery => { QueryMethods.AddDiscovery(discovery); }); }