Ejemplo n.º 1
0
        private void PopulteRepositories()
        {
            FilmRepository filmRepo = _factory.CreateFilmRepository();

            filmRepo.AddRange(SeedCollection._baseFilmList);
            PersonRepository personRepo = _factory.CreatePersonRepository();

            personRepo.AddRange(SeedCollection._basePersonList);
            CountryRepository countryRepo = _factory.CreateCountryRepository();

            countryRepo.AddRange(SeedCollection._baseCountryList);
            LocationRepository locationRepo = _factory.CreateLocationRepository();

            locationRepo.AddRange(SeedCollection._baseLocationist);
        }