public IEnumerable <Score> GetGameScores() { var lstRounds = _gameDao.getAllCompletedRounds(); List <Score> roundList = new List <Score>(); foreach (var round in lstRounds) { roundList.Add(new Score { round = round.RoundId.ToString(), winner = round.Winner }); } return(roundList); }