public HttpResponseMessage Get(Guid id) { if (id == null) { return(Request.CreateResponse(HttpStatusCode.BadRequest, "Id inválido")); } var ingredienteDtoReturn = _service.BuscarPorId(id); return(Request.CreateResponse(HttpStatusCode.OK, ingredienteDtoReturn)); }