public JsonResult Query() { CommonBll common = new CommonBll(); OperateResultModel orm = common.QueryCheXings(); return(JsonResultHelper.ConvertToJsonResult(orm)); }
public PartialViewResult Select(string id, string name, string classname, string value) { if (!string.IsNullOrEmpty(id)) { ViewBag.ID = id; } if (!string.IsNullOrEmpty(name)) { ViewBag.Name = name; } if (!string.IsNullOrEmpty(classname)) { ViewBag.ClassName = classname; } ViewBag.Value = value; CommonBll commbll = new CommonBll(); OperateResultModel orm = commbll.QueryCheXings(); return(PartialView(orm.rows)); }