DeleteSaga() public static method

public static DeleteSaga ( System.Guid correlationId ) : System.Threading.Tasks.Task
correlationId System.Guid
return System.Threading.Tasks.Task
 public Task Kill()
 {
     return(SagaRepository.DeleteSaga(_saga.CorrelationId));
 }
Ejemplo n.º 2
0
 public void Kill()
 {
     SagaRepository.DeleteSaga(_correlationId).GetAwaiter().GetResult();
 }
Ejemplo n.º 3
0
 public async Task Kill()
 {
     await SagaRepository.DeleteSaga(_correlationId);
 }
 public void Kill()
 {
     TaskUtil.Await(() => SagaRepository.DeleteSaga(_correlationId));
 }