Exemplo n.º 1
0
        public void CreatePlayer()
        {
            PlayerModel player = new PlayerModel(FirstName, LastName);

            SqlDataHandler.CreatePlayer(player);
            TeamMembers.Add(player);
            ValidateAllData();

            FirstName = null;
            LastName  = null;
        }