public void Handle(BookingCheckedOut e)
 {
     lock (bookingsCheckedOut)
     {
         bookingsCheckedOut.Add(e);
     }
 }
 public void Apply(BookingCheckedOut e)
 {
     bookingsCheckedOut.Add(e);
 }
Example #3
0
 public void Handle(BookingCheckedOut e)
 {
     this.bookingRepo.CheckOut(e.Id, e.CheckedOutDate);
 }
Example #4
0
 public void Apply(BookingCheckedOut e)
 {
     checkedOut = true;
 }