public PlayOffGame createPlayOffGameFromDto(PlayOffGameDto gameDto) {
   PlayOffGame game = new PlayOffGame();
   game.setAwayParticipant(new Participant()._setId(gameDto.getAwayParticipantId()));
   game.setHomeParticipant(new Participant()._setId(gameDto.getHomeParticipantId()));
   game.setId(gameDto.getGameId());
   game.setResult(gameDto.getResult());
   game.setStatus(gameDto.getGameStatus());
   return game;
 }
 public PlayOffGameDto getPlayOffGameDto(
     PlayOffGame game, Groups group, Locale locale, int playOfGameCount) {
   PlayOffGameDto gameDto = new PlayOffGameDto();
   if (game.getHomeParticipant() != null) {
     gameDto.setPlayerName(getPlayerName(game.getHomeParticipant().getPlayer()));
     gameDto.setHomeParticipantId(game.getHomeParticipant().getId());
   }
   if (game.getAwayParticipant() != null) {
     gameDto.setOpponentName(getPlayerName(game.getAwayParticipant().getPlayer()));
     gameDto.setAwayParticipantId(game.getAwayParticipant().getId());
   }
   gameDto.setGameId(game.getId());
   gameDto.setResult(game.getResult());
   gameDto.setRoundName(
       TournamentUtil.getRoundName(locale, group, game.getPosition(), playOfGameCount));
   assignWinner(gameDto);
   return gameDto;
 }