Beispiel #1
0
        public static Player LoginPlayer(string username, string password)
        {
            PlayerRepo repo   = new PlayerRepo(new PlayerSQLContext());
            Player     player = new Player();

            player = repo.Login(username, password);
            if (player != null)
            {
                player.MonsterManual = repo.FillMonstermanual(player.Id);
            }
            return(player);
        }
Beispiel #2
0
        public void FillMonstermanual()
        {
            PlayerRepo repo = new PlayerRepo(new PlayerSQLContext());

            this.MonsterManual = repo.FillMonstermanual(this.Id);
        }