private static void Seed(ContactDbContext context) { var contacts = new [] { ContactFactory.GetContact() }; context.AddRange(contacts); context.SaveChanges(); }