public IActionResult PesquisarReserva([FromHeader] Reserva reserva) { try { ReservaService reservaService = new ReservaService(this._context); reservaService.BuscarReserva(reserva); return(Ok(reservaService._reserva)); } catch (Exception ex) { return(BadRequest(new { message = ex.Message })); } }