private async Task SaveSagaData(Saga <TSagaData> saga) { if (saga.Completed) { await saver.CompleteAsync(saga.Data); } else { await saver.SaveAsync(saga.Data); } }
private async Task SaveSagaData(Saga <TSagaData> saga) { if (saga.Completed) { await saver.CompleteAsync(saga.Data); } else { await saver.SaveAsync(saga.Data); } }