Exemplo n.º 1
0
        public async Task <ActionResult> Index(HomeIndexViewModel model)
        {
            model.Parser = CreateBBCodeParser();

            model.Initialize((await siteService.GetCurrentUser()), CreateHomeNavList(new List <string>()
            {
                indexActionDest
            }));
            model.ActivityFeedList = model.SkipAndTake <ActivityFeedContainer>(siteService.GetSiteActivityFeedItems());

            ModelState.Clear();

            return(View(model));
        }