public HttpResponseMessage DeleteRating(Guid id) { var result = QsDataRepository.DeleteRating(id); return(Request.CreateResponse(result ? HttpStatusCode.OK : HttpStatusCode.NotFound, result)); }