public HttpResponseMessage Delete(Guid id) { if (id == null) { return(Request.CreateResponse(HttpStatusCode.BadRequest, "Id inválido.")); } _service.Excluir(id); return(Request.CreateResponse(HttpStatusCode.NoContent)); }