Exemple #1
0
        public ActionResult InfiniteScrolling()
        {
            var wordViewModel = new WordViewModel(_wordProxy, _db);

            wordViewModel.BuildModel(true, 8);

            ViewBag.Words = wordViewModel.Words;

            return(PartialView("_Word"));
        }
Exemple #2
0
        public ActionResult Index()
        {
            var wordViewModel = new WordViewModel(_wordProxy, _db);

            wordViewModel.BuildModel(true, 16);

            ViewBag.Words = wordViewModel.Words;

            return(View());
        }