protected abstract Task <ReadOnlyCollection <PeriodisedRequiredPaymentEvent> > HandleEarningEvent(T message, IRequiredPaymentsService actor);
protected override async Task <ReadOnlyCollection <PeriodisedRequiredPaymentEvent> > HandleEarningEvent(ApprenticeshipContractType2EarningEvent message, IRequiredPaymentsService actor) { return(await actor.HandleApprenticeship2ContractTypeEarningsEvent(message, CancellationToken.None).ConfigureAwait(false)); }
protected override async Task <ReadOnlyCollection <PeriodisedRequiredPaymentEvent> > HandleEarningEvent(PayableFunctionalSkillEarningEvent message, IRequiredPaymentsService actor) { return(await actor.HandlePayableFunctionalSkillEarningsEvent(message, CancellationToken.None).ConfigureAwait(false)); }