public JsonResult CategoryItemList(Paging paging, CategoryItem categoryItem = null) { var total = 0; var records = bll.CategoryItemGetFilter(categoryItem, paging, ref total); return(Json(new { records, total }, JsonRequestBehavior.AllowGet)); }