public async Task<StatementModel> ImportAsync(string fullFileName, Account account)
{
foreach (var importer in this.importers)
{
if (await importer.TasteTestAsync(fullFileName))
{
return await importer.LoadAsync(fullFileName, account);
}
}
throw new NotSupportedException("The requested file name cannot be loaded. It is not of any known format.");
}
}