示例#1
0
 /// <summary>
 /// 检查权限名称是否存在
 /// </summary>
 /// <param name="nameInfo">权限名信息</param>
 /// <returns></returns>
 public bool ExistAuthorityName(ExistAuthorityNameCmdDto nameInfo)
 {
     if (nameInfo == null)
     {
         return(false);
     }
     return(AuthorityService.ExistAuthorityName(nameInfo.Name, nameInfo.ExcludeCode));
 }