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