private void RaiseCardUseVerifiedEvent(string claimRequestId) { var cardUseVerifiedEvent = new CardUseVerifiedEvent { ClaimRequestId = claimRequestId, }; ApplyEvent(cardUseVerifiedEvent, @event => _state.Apply(@event)); }
private void When(CardUseVerifiedEvent @event) { CurrentClaimState = ClaimRequestStateEnum.Substantiated; }