Esempio n. 1
0
        private void Handle(AppointmentRequestAcceptedEvent t)
        {
            var appointmentBook = _appointmentBooks[t.AggregateId];

            appointmentBook.Add(t.Timeslot, t.AppointmentName);
        }
Esempio n. 2
0
 private void Apply(AppointmentRequestAcceptedEvent @event)
 {
     _slots[@event.Timeslot] = true;
 }