public JsonResult Index(string jiaxname, string areano) { JiaxInfo jiaxinfo = new JiaxInfo(); OperateResultModel orm = jiaxinfo.QueryJiaxes(jiaxname, areano); return(JsonResultHelper.ConvertToJsonResult(orm)); }
public JsonResult Jiax() { JiaxInfo jiaxinfo = new JiaxInfo(); OperateResultModel orm = jiaxinfo.QueryJiaxes("", ""); 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; JiaxInfo jiaxinfo = new JiaxInfo(); OperateResultModel orm = jiaxinfo.QueryJiaxes("", ""); return(PartialView(orm.rows)); }