コード例 #1
0
        private MainPageRightColumnViewModel BindingDataForMainPageRightColumnViewModel()
        {
            var mainPageRightCol = new MainPageRightColumnViewModel();

            mainPageRightCol.LatestNews = _magazineService.GetNewestItem(this._numOfPage).ToList();
            mainPageRightCol.MostViews  = _magazineService.GetMostViews(this._numOfPage).ToList();

            return(mainPageRightCol);
        }