public async Task <IActionResult> LoadColdData() { await _importMetaDataService.ImportAllCurrencies(); await _importMetaDataService.ImportAllExchanges(); await _importMetaDataService.ImportAllExchangePairs(); return(Ok()); }
public async Task ImportAllExchanges() { await _coldImportTests.ImportAllExchanges(); var context = Context(); Exchange exchange = await context.Exchanges.FirstOrDefaultAsync(x => x.Name == "DSX"); Assert.NotNull(exchange); Assert.Equal("DSX", exchange.Name); }