public void Parse(string countryPath, string artistsPath, string moviesPath)
        {
            var countryPasrser = new CountriesParser(dbContext);

            countryPasrser.Parse(countryPath);

            var artistParser = new ArtistsParser(dbContext, utils);

            artistParser.Parse(artistsPath);

            var movieParser = new MovieParser(dbContext, utils);

            movieParser.Parse(moviesPath);
        }
Beispiel #2
0
        public void ParseCountries()
        {
            List <Country> countryList = CountriesParser.Parse();

            ViewModel.Countries = countryList.ToObservableCollection();
        }