Esempio n. 1
0
        public async Task <ActionResult> Index()
        {
            var boardgame = await _boardService.GetGamesAsync();

            return(View(boardgame));
        }
Esempio n. 2
0
 public async Task <IEnumerable <Boardgame> > GetGamesAsync()
 {
     return(await _boardgameRepositiry.GetGamesAsync());
 }