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