예제 #1
0
        public void AssignToDistributor()
        {
            var @event = new CaseAssignedToDistributor();

            Apply(@event);
            Append(Guid.NewGuid(), CaseAssignedToDistributor.EventType, @event);
        }
예제 #2
0
 private void Apply(CaseAssignedToDistributor @event)
 {
     Status = CaseStatus.WaitingForDistributor;
 }