Ejemplo n.º 1
0
        public async Task <ImportExecutionImpact> ExecuteImport(ImportCommand importCommand, Stream sourceData)
        {
            var result = await _operationsRepository.ExecuteImport(importCommand, sourceData);

            if (result.Success)
            {
                await GetCacheEntry(importCommand.AccountId).DeleteAsync();
            }

            return(result);
        }