예제 #1
0
        public void Process(StartBooking command)
        {
            var e = new BookingStarted(command.User);

            ApplyEvent(e);
        }
예제 #2
0
 public void Apply(BookingStarted dEvent)
 {
     this.BookingStatus = dEvent.newBookingStatus;
 }