public List<News> GetTopImageNewsByTag( int tagId, int maxCount, NewsRemarkType newsRemarkType) { return NewsDao.GetTopImageNewsByTag(tagId, maxCount, (int)newsRemarkType); }
public List<News> GetTopImageNewsByNewsType(BandType newsType, int maxCount, NewsRemarkType newsRemarkType) { return NewsDao.GetTopImageNewsByNewsType((int)newsType, maxCount, (int)newsRemarkType); }
public List<News> GetTopImageNewsByPublishDate( DateTime sTime, DateTime eTime, int maxCount, NewsRemarkType newsRemarkType) { return NewsDao.GetTopImageNewsByPublishDate(sTime, eTime, maxCount, (int)newsRemarkType); }
public List<News> GetPagedNewsByTypeANDPublishDate(PagingContext pager, BandType newsType, DateTime sTime, DateTime eTime, PublishStatus publishStatus, NewsRemarkType newsRemarkType) { return NewsDao.GetPagedNewsByTypeANDPublishDate(pager, (int)newsType, sTime,eTime,(int)publishStatus , (int)newsRemarkType); }
public List<News> GetTopImageNews(int maxCount, NewsRemarkType newsRemarkType) { return NewsDao.GetTopImageNews(maxCount, (int)newsRemarkType); }
public List<News> GetNewsPreviousNextWithBandType(int currentNewsId, NewsRemarkType newsRemarkType,int bandType) { return NewsDao.GetNewsPreviousNextWithBandType(currentNewsId, (int)newsRemarkType, bandType); }
public List <News> GetNewsPreviousNextWithBandType(int currentNewsId, NewsRemarkType newsRemarkType, int bandType) { return(NewsDao.GetNewsPreviousNextWithBandType(currentNewsId, (int)newsRemarkType, bandType)); }
public List <News> GetPagedNewsByNewsType(PagingContext pager, BandType newsType, PublishStatus publishStatus, NewsRemarkType newsRemarkType) { return(NewsDao.GetPagedNewsByNewsType(pager, (int)newsType, (int)publishStatus, (int)newsRemarkType)); }
public List <News> GetPagedNewsByPublishDate(PagingContext pager, DateTime sTime, DateTime eTime, PublishStatus publishStatus, NewsRemarkType newsRemarkType) { return(NewsDao.GetPagedNewsByPublishDate(pager, sTime, eTime, (int)publishStatus , (int)newsRemarkType)); }
public List <News> GetTopImageNewsByTag( int tagId, int maxCount, NewsRemarkType newsRemarkType) { return(NewsDao.GetTopImageNewsByTag(tagId, maxCount, (int)newsRemarkType)); }
public List <News> GetTopImageNewsByTagANDNewsType( int tagId, BandType newsType, int maxCount, NewsRemarkType newsRemarkType) { return(NewsDao.GetTopImageNewsByTagANDNewsType(tagId, (int)newsType, maxCount, (int)newsRemarkType)); }
public List <News> GetTopImageNewsByPublishDate( DateTime sTime, DateTime eTime, int maxCount, NewsRemarkType newsRemarkType) { return(NewsDao.GetTopImageNewsByPublishDate(sTime, eTime, maxCount, (int)newsRemarkType)); }
public List <News> GetTopImageNewsByNewsType(BandType newsType, int maxCount, NewsRemarkType newsRemarkType) { return(NewsDao.GetTopImageNewsByNewsType((int)newsType, maxCount, (int)newsRemarkType)); }
public List <News> GetTopImageNews(int maxCount, NewsRemarkType newsRemarkType) { return(NewsDao.GetTopImageNews(maxCount, (int)newsRemarkType)); }
public List<News> GetTopImageNewsByTagANDNewsType( int tagId, BandType newsType, int maxCount, NewsRemarkType newsRemarkType) { return NewsDao.GetTopImageNewsByTagANDNewsType(tagId, (int)newsType, maxCount, (int)newsRemarkType); }
public List <News> GetPagedNewsByTag(PagingContext pager, PublishStatus publishStatus, int tagId, NewsRemarkType newsRemarkType) { return(NewsDao.GetPagedNewsByTag(pager, (int)publishStatus, tagId, (int)newsRemarkType)); }
/// <summary> /// 获取新闻上一条下一条 /// </summary> /// <param name="currentNewsId"></param> /// <returns></returns> public List<News> GetNewsPreviousNext(int currentNewsId, NewsRemarkType newsRemarkType) { return NewsDao.GetNewsPreviousNext(currentNewsId, (int)newsRemarkType); }
public List<News> GetPagedNewsByTag(PagingContext pager, PublishStatus publishStatus, int tagId, NewsRemarkType newsRemarkType) { return NewsDao.GetPagedNewsByTag(pager, (int)publishStatus, tagId, (int)newsRemarkType); }
public List<News> GetPagedNewsByNewsType(PagingContext pager, BandType newsType, PublishStatus publishStatus, NewsRemarkType newsRemarkType) { return NewsDao.GetPagedNewsByNewsType(pager, (int)newsType, (int)publishStatus, (int)newsRemarkType); }
/// <summary> /// 获取新闻上一条下一条 /// </summary> /// <param name="currentNewsId"></param> /// <returns></returns> public List <News> GetNewsPreviousNext(int currentNewsId, NewsRemarkType newsRemarkType) { return(NewsDao.GetNewsPreviousNext(currentNewsId, (int)newsRemarkType)); }