Exemplo n.º 1
0
 /// <summary>
 /// 是否存在别名,别名不允许重复
 /// </summary>
 /// <param name="appId"></param>
 /// <param name="cid"></param>
 /// <param name="englishName"></param>
 /// <returns></returns>
 public static bool ExistsAlias(int cid, string englishName, WebLanguage lang)
 {
     if (string.IsNullOrEmpty(englishName))
     {
         return(false);
     }
     return(ArticleCategoryManage.ExistsAlias(cid, englishName, lang));
 }
Exemplo n.º 2
0
 /// <summary>
 /// 是否存在别名,别名不允许重复
 /// </summary>
 /// <param name="appId"></param>
 /// <param name="cid"></param>
 /// <param name="englishName"></param>
 /// <returns></returns>
 public static bool ExistsAlias(int appId, int cid, string englishName)
 {
     return(ArticleCategoryManage.ExistsAlias(appId, cid, englishName));
 }