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); }
public void ParseCountries() { List <Country> countryList = CountriesParser.Parse(); ViewModel.Countries = countryList.ToObservableCollection(); }