public HttpResponseMessage UpdateRating(Rating rating, Guid id) { var result = QsDataRepository.UpdateRating(rating, id); return(Request.CreateResponse(!result ? HttpStatusCode.OK : HttpStatusCode.ExpectationFailed)); }
public HttpResponseMessage UpdateRating(Rating rating, Guid id) { var result = QsDataRepository.UpdateRating(rating, id); return(Request.CreateResponse(!result ? HttpStatusCode.OK : HttpStatusCode.ExpectationFailed)); }