Example #1
0
File: Form.cs Project: radtek/EMIP
        public virtual void SaveMobileFormSetting(HttpContext context)
        {
            YZRequest request     = new YZRequest(context);
            string    processName = request.GetString("processName");
            Version   version     = request.GetVersion("version");

            JObject           post = request.GetPostData <JObject>();
            MobileFormSetting mobileFormSetting = post.ToObject <MobileFormSetting>();

            using (BPMConnection cn = new BPMConnection())
            {
                cn.WebOpen();
                BPMProcess.SaveMobileFormSetting(cn, processName, version, mobileFormSetting);
            }
        }