public static void InitializeDb(ContactsDbContext db) { db.AddRange(SeedContacts()); db.AddRange(SeedAddresses()); db.SaveChanges(); }
public static void InitializeDb(ContactsDbContext db) { db.AddRange(SeedContacts()); db.AddRange(SeedAddresses()); db.SaveChanges(); }