Ejemplo n.º 1
0
        public async Task <ActionResult> DisplayAll()
        {
            var model = new DisplayAllViewModel
            {
                KnownWords = await _vocabularyService.GetKnownWords(User.Identity.GetUserId <int>()),
                LearnWords = await _vocabularyService.GetLearnWords(User.Identity.GetUserId <int>())
            };

            return(View(model));
        }