예제 #1
0
        public static ArticleStat GetArticleStat(LoginUser loginUser, int articleViewID)
        {
            ArticleStats articleStats = new ArticleStats(loginUser);

            articleStats.LoadByArticleViewID(articleViewID);
            if (articleStats.IsEmpty)
            {
                return(null);
            }
            else
            {
                return(articleStats[0]);
            }
        }
예제 #2
0
 public ArticleStat(DataRow row, ArticleStats articleStats) : base(row, articleStats)
 {
     _articleStats = articleStats;
 }