public void Remove(notificationObject existingnotificationObject) { if (notifications.Contains(existingnotificationObject)) { notifications.Remove(existingnotificationObject); OnPropertyChanged("notifications"); } }
public void Add(notificationObject newnotificationObject) { notifications.Add(newnotificationObject); OnPropertyChanged("notifications"); }