Пример #1
0
        public async Task <int> InsertBatchAsync(IEnumerable <Trade> trades)
        {
            // Enrich
            foreach (var trade in trades)
            {
                Enrich(trade);
            }

            var result = await _repo.InsertBatchAsync(trades);

            return(result);
        }