public HttpResponseMessage GetPessoas(string nome)
 {
     try
     {
         return(Request.CreateResponse(HttpStatusCode.OK, PessoaNegocio.ListarPorNome(nome)));
     }
     catch (Exception ex)
     {
         return(Request.CreateResponse(HttpStatusCode.InternalServerError, ex));
     }
 }