public static void SeedDatabase(CmdDbContext context) { var actorMovieCollection = ModelMocks.GetActorMovieCollection(); var actorsWithEmptyFilmography = ModelMocks.GetActorsWithEmptyFilmography(); context.AddRange(actorMovieCollection); context.AddRange(actorsWithEmptyFilmography); context.SaveChanges(); }