Esempio n. 1
0
        internal void Execute()
        {
            ICollection <Guid> userIdList = UserSeeder.Execute(ModelBuilder);

            RoleSeeder.Execute(ModelBuilder, userIdList);
            ClaimSeeder.Execute(ModelBuilder, userIdList);
        }
Esempio n. 2
0
        internal void Execute()
        {
            ICollection <Guid> superAdminIdList = UserSeeder.Execute(ModelBuilder);
            IList <Guid>       roleIdList       = RoleSeeder.Execute(ModelBuilder, superAdminIdList);

            ClaimSeeder.Execute(ModelBuilder, superAdminIdList); //ClaimSeeder is unnecessery as it is never used in the project
            RoleClaimSeeder.Execute(ModelBuilder, roleIdList);
        }