示例#1
0
 public void AddCollegeAppUsers(List <Guid> collegeIds)
 {
     this._collegeAppUsers.Clear();
     foreach (var collegeId in collegeIds)
     {
         var collegeAppUser = new CollegeAppUser();
         collegeAppUser.AppUser   = this;
         collegeAppUser.CollegeId = collegeId;
         this._collegeAppUsers.Add(collegeAppUser);
     }
 }
示例#2
0
 public void AddCollegeAppUser(CollegeAppUser collegeAppUser)
 {
     collegeAppUser.College   = this;
     collegeAppUser.CollegeId = this.Id;
     this._collegeAppUsers.Add(collegeAppUser);
 }