Exemplo n.º 1
0
 public static void Seed(this ModelBuilder modelBuilder)
 {
     modelBuilder.Entity <City>().HasData(
         City.GetCities()
         );
     modelBuilder.Entity <Provinces>().HasData(
         Provinces.GetProvinces()
         );
 }