private void UpdatePlayers() { // Get all the players from the MySQL database _mySqlDatabase.OpenConnection(); Console.WriteLine("Retrieving players..."); var players = _mySqlDatabase.GetAllPlayers(); _mySqlDatabase.CloseConnection(); // Save all the players to the SQLite database _sqliteDatabase.OpenConnection(); Console.WriteLine("Saving players..."); _sqliteDatabase.AddPlayers(players); _sqliteDatabase.CloseConnection(); }