예제 #1
0
        public void Delete()
        {
            var @event = new SagaArticleDeletedEvent
            {
                AggregateId = Id
            };

            ApplyChange(@event);
        }
예제 #2
0
 public void Handle(SagaArticleDeletedEvent @event)
 {
     Id = @event.AggregateId;
 }