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