public void When(AccountBilled @event) { var account = FetchModel(@event.AccountNumber); account.Recency = @event.Recency.Value; Logger.Verbose(@event.ToString()); }
public void When(AccountBilled @event) { var clientView = FetchClientView(@event.ClientId); clientView.AccountRecency = @event.Recency.Value; }
void IHandleAccountStateTransitions.When(AccountBilled @event) { recency = @event.Recency; }