public async Task ProcessFile(byte[] file) { var records = _csvFileReader.ReadFromCSV <ItemModel>(file); if (records.Any()) { await _itemsRepository.BulkUpload(records); await _jsonRepository.InsertManyAsync(records); } }