예제 #1
0
        public async Task Seed()
        {
            await _authenticationSeeder.Seed();

            await _courseSeeder.Seed();

            await _playlistSeeder.Seed();

            await _couponSeeder.Seed();
        }
예제 #2
0
 private void Seed(ModelBuilder builder)
 {
     RoleSeeder.Seed(builder);
     //SeedUsers(builder); // Users are seeded in startup as userManager needed
     CourseSeeder.Seed(builder);
 }