Exemplo n.º 1
0
        public async Task <SagaData> LookForInstanceAsync(SimpleSagaTerminatingMessage message)
        {
            var sagaData = await SagaPersistence.GetSagaDataAsync <SimpleTestSagaData>(PARTITION_KEY, message.Id.ToString());

            return(sagaData);
        }
Exemplo n.º 2
0
 public async Task HandleCommandAsync(IBus bus, SimpleSagaTerminatingMessage message, ILogger Log)
 {
     await this.DeleteSagaAsync();
 }