Exemplo n.º 1
0
        public ActionResult Datagrid_del_all()
        {
            ExhiModel e = new ExhiModel();

            DatagridObject datagrid = createExhiDatagrid(BaseModel.STATUS_DELETE,"");
            return JsonText(datagrid, JsonRequestBehavior.AllowGet);
        }
Exemplo n.º 2
0
 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);
     }
 }
Exemplo n.º 3
0
 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);
 }
Exemplo n.º 4
0
 public JsResultObject submitComment(ExhiModel comment)
 {
     return new JsResultObject();
 }