public static void Seed(this DemofContext context, IWebHost host) { if (context.AllMigrationsApplied()) { var seed = new Seeder(host, context); seed.Seed(host); } }