Exemplo n.º 1
0
 /// <summary>
 /// Persists the specified aggregate commit.
 /// </summary>
 /// <param name="aggregateCommit">The aggregate commit.</param>
 public void Append(AggregateCommit aggregateCommit)
 {
     eventStoreStorage.Flush(aggregateCommit);
 }
Exemplo n.º 2
0
        /// <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);
        }