/// <summary> /// Seeds the SQL table if it has no contents using /// local SeedTicker.json file. /// </summary> private async Task SeedStockDatabase() { using (var seeder = new SecurityTableSeederDataService()) { await seeder.LoadStockJsonDataIntoSqlServer(_storageString); } }
/// <summary> /// Seeds the SQL table if it has no contents using /// local SeedTicker.json file. /// </summary> private void SeedStockDatabase() { var storageString = ConfigurationManager.AppSettings["StorageConnectionString"]; using (var seeder = new SecurityTableSeederDataService()) { seeder.LoadStockJsonDataIntoSqlServer(storageString); } }