public static async Task School(ConfigurationContext configurationContext) { if (await configurationContext.Tenants.FindAsync(Tenants[0].Tag) == null) { foreach (Tenant tenant in Tenants) { await configurationContext.AddAsync(tenant); await configurationContext.SaveChangesAsync(); } } }