public virtual void RemoveActivity(CardActivity activity) { if (_activities.Contains(activity)) _activities.Remove(activity); }
public virtual void AddActivity(CardActivity activity) { if(_activities.Contains(activity)) return; activity.Card = this; _activities.Add(activity); }