public void ImportRoute() { var openFile = new OpenFileModel(); openFile.CheckFileExists = true; openFile.InitialDirectory = Settings.DataPath; openFile.Filter = "ttt files|*.ttt|All Files|*.*"; openFile.Title = "Open exported database file"; var path = FileIOHelper.GetOpenFileName(openFile); if (path.Length > 0) { var importRoute = new ImportRouteDataAccess(path); RouteList = new BindableCollection <RouteModel>(RouteDataAccess.GetAllRoutes()); NotifyOfPropertyChange(() => RouteList); } }