public static int GetForumTopicsSinceCount(bool isAdminOrModerator, int forumid, int?topicstatus, string fromdate, int?userid, int startRowIndex, int maximumRows) { if (maximumRows == 0) { return(0); } ITopic dal = Factory <ITopic> .Create("Topic"); return(dal.GetTopicCount(fromdate, startRowIndex, maximumRows, forumid, isAdminOrModerator, topicstatus, false, userid)); }
public static int GetNewTopicCount(string lastHereDate, bool isAdminOrModerator, int startRowIndex, int maximumRows) { ITopic dal = Factory <ITopic> .Create("Topic"); return(dal.GetTopicCount(lastHereDate, startRowIndex, maximumRows, null, isAdminOrModerator, null, true, null)); }