Пример #1
0
        public ActionResult Bests()
        {
            BestPageViewModel bestPageViewModel = new BestPageViewModel
            {
                MostActiveAccounts      = Mapper.Map <List <AccountForFollowerListDto> >(_accountService.GetTrendAccounts()),
                HasMostFollowerAccounts = Mapper.Map <List <AccountForFollowerListDto> >(_accountService.GetAccountsHasMostFollowers()),
                HasMostReviewDiaries    = Mapper.Map <List <MainPageData> >(_diaryService.GetHasMostReviewDiaries())
            };

            return(View(bestPageViewModel));
        }