public HttpResponseMessage GetUserCommentByEntityType(string entityId, int type) { ItemResponse <CommentsAndUserResponse> response = new ItemResponse <CommentsAndUserResponse>(); response.Item = _commentService.AllCommentsForEntityIdAndType(entityId, type, _userService.GetCurrentUserId()); return(Request.CreateResponse(HttpStatusCode.OK, response)); }