示例#1
0
        /// <summary>
        /// 是否存在标题
        /// </summary>
        public bool ExistsTitle(int channel_id, string title)
        {
            string channelName = new BLL.site_channel().GetChannelName(channel_id);//查询频道名称

            if (string.IsNullOrEmpty(channelName))
            {
                return(false);
            }
            return(dal.ExistsTitle(channelName, title));
        }
示例#2
0
 /// <summary>
 /// 是否存在标题
 /// </summary>
 public bool ExistsTitle(string title)
 {
     return(dal.ExistsTitle(title));
 }