public async Task InsertAsync(L7Conversation l7Conversation) { await this._repositoryWriterAsync.InsertAsync(L7ConversationMapper.Map(l7Conversation)).ConfigureAwait(false); // TODO async ShardL7ConversationPdus await Task.WhenAll(L7ConversationPdusSharder.ShardL7ConversationPdus(l7Conversation) .Select(this._pduShardRepositoryWriterAsync.InsertAsync)).ConfigureAwait(false); await this._unitOfWork.SaveChangesAsync().ConfigureAwait(false); }
public async Task InsertAsync(L7Conversation l7Conversation) { await this._repositoryWriterAsync.InsertAsync(L7ConversationMapper.Map(l7Conversation)).ConfigureAwait(false); await this._unitOfWork.SaveChangesAsync().ConfigureAwait(false); }