Ejemplo n.º 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);
        }