// GET: TournamentsController public async Task <ActionResult> Index() { var tournaments = _mapper.Map <IEnumerable <TournamentViewModel> >(await _tournamentService.GetAllAsync()); return(View(tournaments)); }