public void Handle(ReservationCanceled theEvent) { Console.WriteLine("reservation canceled for id {0} at {1} because of {2}", theEvent.ReservationId.ToString(), theEvent.CancellationDate.ToString(), theEvent.Reason); var repo = new ReservationRepository(); repo.CancelReservation(theEvent.ReservationId, theEvent.CancellationDate, theEvent.Reason); }