public JsonResult Delete(int[] ids) { var identity = new AspNetIdentiyAuthorizeRelay <SysUser>(); identity.DeleteMenu(this.CurrentUserId, ids); return(Json(ResultType.Success, WebBackOperateTipUtils.DELETE_SUCCESS)); }
public JsonResult Delete(int[] id) { var identity = new AspNetIdentiyAuthorizeRelay <SysUser>(CurrentDb); foreach (int menuId in id) { identity.DeleteMenu(menuId); } return(Json(ResultType.Success, ManagerOperateTipUtils.DELETE_SUCCESS)); }