public IActionResult CancelarReserva([FromBody] Reserva reserva) { try { ReservaService reservaService = new ReservaService(this._context); reservaService.CancelarReserva(reserva); reservaService.EnviarEmailCancelamento(reserva); return(Ok("")); } catch (Exception ex) { return(BadRequest(new { message = ex.Message })); } }