// DELETE: api/Pessoa/5 public HttpResponseMessage Delete(Guid id) { try { PessoaNegocio.RemovePessoa(id); return(Request.CreateResponse(HttpStatusCode.OK)); } catch (Exception ex) { return(Request.CreateResponse(HttpStatusCode.InternalServerError, ex)); } }