public void Handle(TestAggregateDidSomethingElse message) { TestSaga saga = GetSaga(message.Id); saga.Handle(message); SagaUnitOfWork.Add(saga); SagaUnitOfWork.Commit(); }
public void Apply(TestAggregateDidSomethingElse e) { DidSomethingElse = true; }
public void Handle(TestAggregateDidSomethingElse message) { ApplyChange(message); }