/// <summary>
        /// 获取权限分组
        /// </summary>
        /// <param name="filter">权限分组筛选信息</param>
        /// <returns>返回权限分组</returns>
        public PermissionGroupDto GetPermissionGroup(PermissionGroupFilterDto filter)
        {
            var authorityGroup = permissionGroupService.Get(filter?.ConvertToFilter());

            return(authorityGroup.MapTo <PermissionGroupDto>());
        }
        /// <summary>
        /// 获取权限分组列表
        /// </summary>
        /// <param name="filter">权限分组筛选信息</param>
        /// <returns>返回权限分组列表</returns>
        public List <PermissionGroupDto> GetPermissionGroupList(PermissionGroupFilterDto filter)
        {
            var authorityGroupList = permissionGroupService.GetList(filter?.ConvertToFilter());

            return(authorityGroupList.Select(c => c.MapTo <PermissionGroupDto>()).ToList());
        }
        /// <summary>
        /// 获取权限分组分页
        /// </summary>
        /// <param name="filter">权限分组筛选信息</param>
        /// <returns>返回权限分组分页</returns>
        public IPaging <PermissionGroupDto> GetPermissionGroupPaging(PermissionGroupFilterDto filter)
        {
            var authorityGroupPaging = permissionGroupService.GetPaging(filter?.ConvertToFilter());

            return(authorityGroupPaging.ConvertTo <PermissionGroupDto>());
        }