public static void ClassCleanupReport() { QueryDB queryDB = new QueryDB(); queryDB.DeleteAccount("MariaFer13"); queryDB.DeleteAccount("MiroStart"); queryDB.DeletePlayer("MariaFer13"); queryDB.DeletePlayer("MiroStart"); queryDB.DeleteReport("MariaFer13"); }
public static void ClassCleanupPlayer() { QueryDB queryDB = new QueryDB(); List <Player> players = new List <Player>(); Player playerOne = new Player(); playerOne.nickName = "MiroStart"; players.Add(playerOne); Player playerTwo = new Player(); playerTwo.nickName = "MariaFer13"; players.Add(playerTwo); queryDB.DeletePlayerMatch(idMatch, players); queryDB.DeleteMatch(idMatch); queryDB.DeleteAccount("MariaFer13"); queryDB.DeleteAccount("MiroStart"); queryDB.DeletePlayer("MariaFer13"); queryDB.DeletePlayer("MiroStart"); }