public HttpResponseMessage AcceptSuggestion(int suggestionId) { var result = listQueries.AcceptSuggestion(suggestionId); if (result != null) { return(Request.CreateResponse(HttpStatusCode.OK, result)); } return(Request.CreateResponse(HttpStatusCode.InternalServerError, result)); }