/// <summary> /// 验证权限分组名称是否存在 /// </summary> /// <param name="existPermissionGroupNameDto">权限分组名称验证信息</param> /// <returns>返回权限分组名称是否存在</returns> public bool ExistPermissionGroupName(ExistPermissionGroupNameDto existPermissionGroupNameDto) { if (existPermissionGroupNameDto == null) { return(false); } return(permissionGroupService.ExistName(existPermissionGroupNameDto.Name, existPermissionGroupNameDto.ExcludeId)); }