public ResponseInfoModel Toplist([FromUri] GetArticleTopListInput input) { ResponseInfoModel json = new ResponseInfoModel() { Success = 1, Result = new object() }; try { CheckModelState(); var articleCategoryIds = _articleCategoryService.ChildStateInts(input.CategoryID); var outputList = _articleService.GetTopList(input, articleCategoryIds); json.Result = new ListInfo() { List = outputList }; } catch (Exception e) { DisposeUserFriendlyException(e, ref json, "api/article/toplist", LocalizationConst.QueryFail); } return(json); }