public ActionResult Datagrid_del_all() { ExhiModel e = new ExhiModel(); DatagridObject datagrid = createExhiDatagrid(BaseModel.STATUS_DELETE,""); return JsonText(datagrid, JsonRequestBehavior.AllowGet); }
public static string GetPathExhiHotel(ExhiModel exhi) { string pattern = "{0}{1}"; string filePath = System.Configuration.ConfigurationManager.AppSettings["ZDSL.Webapp.path.Exhi.ExhiHotel"]; filePath = string.Format(filePath, exhi.id); if (IsDebug()) { return string.Format(pattern, WebUtil.GetWebRootPath(), "/Public/Exhi/ExhiHotel?exhiId=" + exhi.id); } else { return string.Format(pattern, WebUtil.GetWebRootPath(), filePath); } }
public ActionResult Save() { ExhiModel exhi = new ExhiModel(); exhi.status = BaseModel.STATUS_ACTIVATE; exhi = ObjectUtil.Eval(exhi, Request.Params, "", ""); if (string.IsNullOrEmpty(exhi.id)) { exhi.id = exhi.createPk().ToString(); } JsResultObject result = BaseZdBiz.SaveOrUpdate(exhi, "展会"); return JsonText(result, JsonRequestBehavior.AllowGet); }
public JsResultObject submitComment(ExhiModel comment) { return new JsResultObject(); }