private static void CreateAndSaveDefaultCharity(Administrator defaultAdministrator, DataContext context) { var defaultCharity = new Charity { SiteName = "My Charity", Description = "This is a test charity" }; defaultCharity.AddAdministrators(defaultAdministrator); context.Add(defaultCharity); context.SaveChanges(); }