public void Update() { var @event = new SagaCommentUpdatedEvent { AggregateId = Id, Body = Body }; ApplyChange(@event); }
public void Handle(SagaCommentUpdatedEvent @event) { Id = @event.AggregateId; Body = @event.Body; }