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