예제 #1
0
        private void loadUserRolesFor(Role role)
        {
            var userRoles = UserRolesCollection.Find(Query.EQ("RoleId", role.Id)).SetSortOrder("RoleName").ToList();

            userRoles.ForEach(ur => role.AddUserRole(ur));
        }