public void AddPlayer(string userName, int score) { var playerScore = new PlayerScoreViewModel() { UserName = userName, Score = score }; PlayerScores.Add(playerScore); }