public IHttpActionResult Delete(int id) { try { ReservaDAO reservaDAO = new ReservaDAO(); reservaDAO.ExcluirReserva(id); return(Ok()); } catch (Exception ex) { return(InternalServerError(ex)); } }