示例#1
0
        /// <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);
        }
示例#2
0
 /// <summary>
 /// 保存角色菜单权限
 /// </summary>
 /// <param name="input"></param>
 /// <returns></returns>
 public async Task <JsonResponse> SaveRoleMenu(RoleMenuRequestDto input)
 {
     input.InitCreateRequest();
     input.InitModifyRequest();
     return(await _menuDomainService.SaveRoleMenu(input));
 }