public async Task <SagaDataContainer> LoadByCorrelationId(string correlationId) { var result = await impl.LoadByCorrelationId(correlationId).ConfigureAwait(false); await barrier("Saga.Load").ConfigureAwait(false); return(result); }
public async Task <object> LoadSaga(string sagaId) { var container = await persister.LoadByCorrelationId(sagaId).ConfigureAwait(false); return(container?.SagaData); }
public async Task <Entity> LoadByCorrelationId(string correlationId) { await barrier("Saga.Load").ConfigureAwait(false); return(await impl.LoadByCorrelationId(correlationId).ConfigureAwait(false)); }
public async Task <SagaDataContainer> LoadByCorrelationId(string correlationId) { await Barrier().ConfigureAwait(false); return(await realPersister.LoadByCorrelationId(correlationId).ConfigureAwait(false)); }