public void Apply(ParticipantAssignedToRoom e)
 {
     RoomNumber = e.RoomNumber;
 }
Beispiel #2
0
        public void Handle(ParticipantAssignedToRoom e)
        {
            var participant = Participants.Single(x => x.Id == e.Id);

            participant.RoomNumber = e.RoomNumber;
        }