Example #1
0
        public ActionResult Update(ProcessUpdateInput input)
        {
            if (!this.ModelState.IsValid)
            {
                return(this.ModelState.ToJsonResult());
            }
            AcDomain.Handle(input.ToCommand(AcSession));

            return(this.JsonResult(new ResponseData {
                success = true, id = input.Id
            }));
        }
Example #2
0
        public ActionResult Update(ProcessUpdateInput input)
        {
            if (!this.ModelState.IsValid)
            {
                return this.ModelState.ToJsonResult();
            }
            AcDomain.Handle(input.ToCommand(AcSession));

            return this.JsonResult(new ResponseData { success = true, id = input.Id });
        }