public void Handle(ParticipantDelegateStatusRevoked e) { if (Participants.ContainsKey(e.Id)) { Participants[e.Id].IsDelegate = false; } }
public void Apply(ParticipantDelegateStatusRevoked e) { IsDelegate = false; }
public void Handle(ParticipantDelegateStatusRevoked e) { var participant = Participants.Single(x => x.Id == e.Id); participant.IsDelegate = false; }