/// <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)); }
/// <summary> /// 是否存在标题 /// </summary> public bool ExistsTitle(string title) { return(dal.ExistsTitle(title)); }