public void SeedConfiguration() { ApplicationUserSeed.SeedApplicationUsers(Context); DataBaseSeed.DataBaseSeedMethod(Context); }
protected override void Seed(DataAccessLayer.EF.ApplicationDbContext context) { // This method will be called after migrating to the latest version. // You can use the DbSet<T>.AddOrUpdate() helper extension method // to avoid creating duplicate seed data. ApplicationUserSeed.SeedApplicationUsers(context); SettingsSeed.SeedSettings(context); }