private static void DownloadGoogleBookFile() { GoogleDriveClient client = new GoogleDriveClient(); client.DownloadBookCsv(); JsonFileGenerator fileGenerator = new JsonFileGenerator(new BookReadService(new LocalDatabaseReader())); fileGenerator.GenerateJsonDataFile(); fileGenerator.PersistGoogleBooksDataIntoFile(); }
public void PersistGoogleBooksData() { JsonFileGenerator fileGenerator = new JsonFileGenerator(new BookReadService(new LocalDatabaseReader())); fileGenerator.PersistGoogleBooksDataIntoFile(); }