public async Task <bool> Handle(CreateCancelReservationCommand request, CancellationToken cancellationToken) { try { await _reservationRepository.CancelById(request.Id); _eventBus.PublishEvent(new ReservationCanceledEvent(request.Id)); } catch (Exception e) { Console.WriteLine(e); throw; } return(await Task.FromResult(true)); }