/// <summary> ///分类名是否存在,在同一语言下 /// </summary> /// <param name="id"></param> /// <param name="name"></param> /// <param name="parentId"></param> /// <param name="lang"></param> /// <returns></returns> public static bool ExistsName(int id, string name, int parentId, WebLanguage lang) { return(ArticleCategoryManage.ExistsName(id, name, parentId, lang)); }
public static bool ExistsName(int siteId, int id, string name, int parentId) { return(ArticleCategoryManage.ExistsName(siteId, id, name, parentId)); }