Beispiel #1
0
 private void Apply(ScreeningPlanned @event)
 {
     _availableSeatsByScreeningId.Add(@event.ScreeningId, @event.Seats);
 }
Beispiel #2
0
 private void Apply(ScreeningPlanned screeningPlanned)
 {
     Id        = screeningPlanned.ScreeningId;
     Seats     = screeningPlanned.Seats.Select(id => new Seat(id)).ToArray();
     StartTime = screeningPlanned.StartTime;
 }