public async Task<NexradScan> Scan(string filename, string site, string product) { var nexradParser = new NexradParserService(); var scan = await nexradParser.FetchNexradScanAsync(site, product, filename); return scan; }
public async Task<List<string>> List(string site, string product) { // TODO add IoC for services var latest = string.Empty; var nexradParser = new NexradParserService(); var filelist = await nexradParser.FetchNexradFileListAsync(site, product); return filelist; }