/// <summary> /// Persists the specified aggregate commit. /// </summary> /// <param name="aggregateCommit">The aggregate commit.</param> public void Append(AggregateCommit aggregateCommit) { eventStoreStorage.Flush(aggregateCommit); }
/// <summary> /// Persists the specified aggregate commit. /// </summary> /// <param name="aggregateCommit">The aggregate commit.</param> public Task AppendAsync(AggregateCommit aggregateCommit) { eventStoreStorage.Flush(aggregateCommit); return(Task.CompletedTask); }