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 })); }
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 }); }