private void Handle(CalendarDayAddedEvent t) { _appointmentBooks.Add(t.AggregateId, new AppointmentBook <string>(t.AggregateId, 24)); }
private void Apply(CalendarDayAddedEvent @event) { Id = @event.AggregateId; _slots = new bool[24]; }
private void Handle(CalendarDayAddedEvent t) { _appointmentBooks.Add(t.AggregateId, new AppointmentBook <string>(t.AggregateId, 24)); }
private void Apply(CalendarDayAddedEvent @event) { Id = @event.AggregateId; _slots = new bool[24]; }