Exemple #1
0
        public string GetCurrentRound(int id)
        {
            var round = _gameDao.GetRoundData(id);

            if (string.IsNullOrEmpty(round.FirstPlayerMove))
            {
                return(round.FirstPlayerName);
            }
            else
            {
                return(round.SecondPlayerName);
            }
        }