public void Cancel() { IsCanceled = true; var notification = Notification.GigCancelled(this); foreach (var attendee in Attendences.Select(b => b.Attendee)) { attendee.Notify(notification); } }
public void Cancel() { IsCancelled = true; Notification notification = Notification.GigCancelled(this); foreach (ApplicationUser attendee in Attendances.Select(a => a.Attendee)) { attendee.Notify(notification); } }