public void AssignToDistributor() { var @event = new CaseAssignedToDistributor(); Apply(@event); Append(Guid.NewGuid(), CaseAssignedToDistributor.EventType, @event); }
private void Apply(CaseAssignedToDistributor @event) { Status = CaseStatus.WaitingForDistributor; }