Exemplo n.º 1
0
        private void ImportAirports()
        {
            var file = mFileService.BrowseForFile("Json file (*.json) | *.json");

            if (string.IsNullOrEmpty(file))
            {
                return;
            }

            AirportsPath = file;
            Airports     = mMapper.Map <List <CheckableImportedAirport> >(mAirpotImporter.ImportAirportsFromJson(file));
        }