Exemplo n.º 1
0
        public void Cancel()
        {
            IsCanceled = true;
            var Notification = new Notification(NoteficationType.GigCanceled, this);

            foreach (var Attendee in Attendances.Select(a => a.Attendee))
            {
                Attendee.Notify(Notification);
            }
        }
Exemplo n.º 2
0
        public void Canceled()
        {
            IsCanceled = true;

            var notification = Notification.GigCanceled(this);


            foreach (var Attendee in Attendances.Select(a => a.Attendee))
            {
                Attendee.Notify(notification);
            }
        }