예제 #1
0
        public Highscore AddNewHighscore(bool hasWon, int playerId)
        {
            Highscore myHighscore;

            NewHighscore = new Highscore(hasWon, NumberOfMoves, playerId);
            return(myHighscore = DbConnection.AddOneHighscoreToDb(NewHighscore));
        }