public HttpResponseMessage Delete(Guid id) { try { PessoaNegocio.deletarPessoa(id); return(Request.CreateResponse(HttpStatusCode.OK, "Deletou")); } catch (Exception ex) { return(Request.CreateResponse(HttpStatusCode.InternalServerError, ex)); throw; } }