/// <summary> /// 修改 /// </summary> /// <param name="input"></param> /// <returns></returns> public async Task <JsonResponse> Modify(RoleMenuRequestDto input) { input.InitModifyRequest(); var resJson = await _applicationEnginee.TryTransactionAsync(async() => { await _roleMenuAppService.ModifyAsync(input); }); return(resJson); }
/// <summary> /// 保存角色菜单权限 /// </summary> /// <param name="input"></param> /// <returns></returns> public async Task <JsonResponse> SaveRoleMenu(RoleMenuRequestDto input) { input.InitCreateRequest(); input.InitModifyRequest(); return(await _menuDomainService.SaveRoleMenu(input)); }