public ActionResult TournamentDetail(int id) { var result = _tournamentService.GetByID(id); var tournament = Mapper.Map <Tournament, TournamentViewModel>(result); return(View(tournament)); }