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