public UpdateEnglishFractionsCommandHandler(IHmrcService hmrcService,
                                             IEnglishFractionRepository englishFractionRepository,
                                             ILogger logger)
 {
     _hmrcService = hmrcService;
     _englishFractionRepository = englishFractionRepository;
     _logger = logger;
 }
コード例 #2
0
 public PayeSchemesService(
     IPayeRepository payeRepository,
     IEnglishFractionRepository englishFractionRepository,
     IHashingService hashingService
     )
 {
     _payeRepository            = payeRepository;
     _englishFractionRepository = englishFractionRepository;
     _hashingService            = hashingService;
 }
コード例 #3
0
 public GetAccountPayeSchemesQueryHandler(
     IPayeRepository payeRepository,
     IEnglishFractionRepository englishFractionRepository,
     IHashingService hashingService,
     IValidator <GetAccountPayeSchemesQuery> validator)
 {
     _payeRepository            = payeRepository ?? throw new ArgumentNullException(nameof(payeRepository));
     _englishFractionRepository = englishFractionRepository;
     _hashingService            = hashingService;
     _validator = validator;
 }
コード例 #4
0
 public GetAccountPayeSchemesQueryHandler(
     IAccountRepository accountRepository,
     IEnglishFractionRepository englishFractionRepository,
     IHashingService hashingService,
     IValidator <GetAccountPayeSchemesQuery> validator)
 {
     if (accountRepository == null)
     {
         throw new ArgumentNullException(nameof(accountRepository));
     }
     _accountRepository         = accountRepository;
     _englishFractionRepository = englishFractionRepository;
     _hashingService            = hashingService;
     _validator = validator;
 }
 public GetEnglishFractionsUpdateRequiredQueryHandler(IHmrcService hmrcService, IEnglishFractionRepository englishFractionRepository)
 {
     _hmrcService = hmrcService;
     _englishFractionRepository = englishFractionRepository;
     
 }
コード例 #6
0
 public CreateEnglishFractionCalculationDateCommandHandler(IValidator <CreateEnglishFractionCalculationDateCommand> validator, IEnglishFractionRepository englishFractionRepository, ILog logger)
 {
     _validator = validator;
     _englishFractionRepository = englishFractionRepository;
     _logger = logger;
 }