Exemplo n.º 1
0
 public ExpiredFundsService(IExpiredFunds expiredFunds, ILevyDataSession levyDataSession, ITelemetry telemetry, IEmployerPaymentDataSession employerPaymentDataSession)
 {
     _expiredFunds               = expiredFunds ?? throw new ArgumentNullException(nameof(expiredFunds));
     _levyDataSession            = levyDataSession ?? throw new ArgumentNullException(nameof(levyDataSession));
     _telemetry                  = telemetry ?? throw new ArgumentNullException(nameof(telemetry));
     _employerPaymentDataSession = employerPaymentDataSession;
 }
 public EmployerPayments(long employerAccountId, IEmployerPaymentDataSession dataSession)
 {
     if (employerAccountId <= 0)
     {
         throw new ArgumentOutOfRangeException(nameof(employerAccountId));
     }
     _employerAccountId = employerAccountId;
     _dataSession       = dataSession ?? throw new ArgumentNullException(nameof(dataSession));
 }
Exemplo n.º 3
0
 public EmployerPaymentsRepository(IEmployerPaymentDataSession dataSession)
 {
     _dataSession = dataSession ?? throw new ArgumentNullException(nameof(dataSession));
 }