Example #1
0
 public void RemoveInterest(Interest interest)
 {
     if (Interests.Any(i => i.Name == interest.Name))
     {
         Interests.Remove(interest);
     }
 }
Example #2
0
 public void AddInterest(Interest interest)
 {
     if (!Interests.Any(i => i.Name == interest.Name))
     {
         Interests.Add(interest);
     }
 }