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