Exemple #1
0
 public void RemoveInterest(Interest interest)
 {
     UserInterests.Remove(UserInterests.FirstOrDefault(x => x.Interest_Id == interest.Id)); 
     Interests.Remove(interest);
 }
Exemple #2
0
 public void AddInterest(Interest interest)
 {
     UserInterests.Add(UserInterest.Create(this, interest.Id));
     Interests.Add(interest);
 }