public Projeto GetDadosProjeto(int codigoProjetoParaSelecionarDados) { try { return(projetos.SelecionaDadosProjeto(codigoProjetoParaSelecionarDados)); } catch (Exception e) { var msg = new HttpResponseMessage(HttpStatusCode.NotAcceptable) { ReasonPhrase = e.Message }; throw new HttpResponseException(msg); } }