コード例 #1
0
ファイル: Program.cs プロジェクト: mercurysn/MyBookLibrary
        private static void DownloadGoogleBookFile()
        {
            GoogleDriveClient client = new GoogleDriveClient();

            client.DownloadBookCsv();

            JsonFileGenerator fileGenerator = new JsonFileGenerator(new BookReadService(new LocalDatabaseReader()));

            fileGenerator.GenerateJsonDataFile();
            fileGenerator.PersistGoogleBooksDataIntoFile();
        }
コード例 #2
0
        public void PersistGoogleBooksData()
        {
            JsonFileGenerator fileGenerator = new JsonFileGenerator(new BookReadService(new LocalDatabaseReader()));

            fileGenerator.PersistGoogleBooksDataIntoFile();
        }