public void CreatePlayer(Player NewPlayer)
 {
     using (var db = new LanguageBoosterContext())
     {
         db.Players.Attach(NewPlayer);
         db.Players.Add(NewPlayer);
         db.SaveChanges();
     }
 }
        public Word GetNextWord(Player NewPlayer)
        {
            using (var db = new LanguageBoosterContext())
            {
                int Count = db.Words.Count();

                if (Count == 0)
                {
                    throw new Exception("No words set up!");
                }

                int RandomIndex = random.Next(Count - 1);

                return db.Words.Skip(RandomIndex).Single();
            }
        }
        public Score GetPlayerHighScore(Player Player)
        {
            Score HighScore = null;

            return HighScore;
        }