public IHttpActionResult AtualizarAvaliacao([FromBody] ReservaRegistroTO reserva) { BaseResponse response = new BaseResponse(); try { Reserva.AtualizarAvaliacao(reserva.Id, reserva.Satisfacao, reserva.ComentarioUsuario); } catch (EntidadesException eex) { response.Status = (int)eex.Codigo; response.Detalhes = eex.Message; } catch (Exception ex) { response.Status = -1; response.Detalhes = ex.Message; } return(Ok(response)); }