public bool AddEventToPerson(Event personEvents) { bool eventCanBeAdded = false; if (!(PersonEvents.Contains(personEvents))) { PersonEvents.Add(personEvents); } return(eventCanBeAdded); }
public bool RemoveEventFromPerson(Event personEvent) { bool eventCanBeRemoved = false; if (PersonEvents.Contains(personEvent)) { PersonEvents.Remove(personEvent); eventCanBeRemoved = true; } return(eventCanBeRemoved); }