public JsonResult Edit(int id, IFormCollection collection) { DeptEntity entity = new DeptEntity(); TryUpdateModelAsync(entity); var result = service.Update(entity, AppUser, () => { DeptUtil.Clear(); }); return(Json(result)); }
public JsonResult Edit(int id, IFormCollection collection) { DeptEntity entity = new DeptEntity(); TryUpdateModelAsync(entity); var result = service.Update(entity, AppUser, () => { DeptUtil.Clear(); }); return(Json(result)); }