Beispiel #1
0
        public JsonResult Query()
        {
            CommonBll          common = new CommonBll();
            OperateResultModel orm    = common.QueryCheXings();

            return(JsonResultHelper.ConvertToJsonResult(orm));
        }
Beispiel #2
0
        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));
        }