public ActionResult DefaultFilterStates(string actionCode, int contentId) { var filterStates = _articleSearchService.GetDefaultFilterStates(actionCode, contentId); return(new JsonResult { Data = new { success = true, filterStates }, JsonRequestBehavior = JsonRequestBehavior.AllowGet }); }
public ActionResult DefaultFilterStates(string actionCode, int contentId) { var filterStates = _articleSearchService.GetDefaultFilterStates(actionCode, contentId); return(Json(new { success = true, filterStates })); }