コード例 #1
0
        public ActionResult DefaultFilterStates(string actionCode, int contentId)
        {
            var filterStates = _articleSearchService.GetDefaultFilterStates(actionCode, contentId);

            return(new JsonResult
            {
                Data = new
                {
                    success = true,
                    filterStates
                },
                JsonRequestBehavior = JsonRequestBehavior.AllowGet
            });
        }
コード例 #2
0
        public ActionResult DefaultFilterStates(string actionCode, int contentId)
        {
            var filterStates = _articleSearchService.GetDefaultFilterStates(actionCode, contentId);

            return(Json(new { success = true, filterStates }));
        }