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); } }
public void AddCollegeAppUser(CollegeAppUser collegeAppUser) { collegeAppUser.College = this; collegeAppUser.CollegeId = this.Id; this._collegeAppUsers.Add(collegeAppUser); }