public async Task <IActionResult> BoxSave([FromBody] RoleTreeDto dto)
        {
            if (dto.RoleId <= 0)
            {
                return(NotFound());
            }

            dto.CreateUserId = UserIdentity.UserId;
            var res = await _resourceService.BoxSaveAsync(dto);

            return(Ok(res));
        }
 public async Task <bool> BoxSaveAsync([FromBody] RoleTreeDto dto)
 {
     return(await _resourceService.BoxSaveAsync(dto));
 }