public void Cancel() { IsCanceled = true; var Notification = new Notification(NoteficationType.GigCanceled, this); foreach (var Attendee in Attendances.Select(a => a.Attendee)) { Attendee.Notify(Notification); } }
public void Canceled() { IsCanceled = true; var notification = Notification.GigCanceled(this); foreach (var Attendee in Attendances.Select(a => a.Attendee)) { Attendee.Notify(notification); } }