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