static void Main(string[] args) { YC.Service.ImportService importService = YC.Service.ImportService.CreateForEF();; var nodes = importService.FindOpenDataFromDb(); showOpenData(nodes); Console.ReadKey(); }
static void Main(string[] args) { var import = new YC.Service.ImportService(); var db = new YC.Repository.StationRepository(); //var stations = import.FindStations(@"d:\THBRM.xml"); //stations // .ToList().ForEach(station => //{ // db.Create(station); //}); var stations = db.FindAllStations(); ShowStation(stations); Console.ReadKey(); }