Ejemplo n.º 1
0
 public PayController(IPayComputationService payComputationService, IEmployeeService employeeService, ITaxService taxService, INationalInsuranceContributionService nationalInsuranceContributionService)
 {
     _payComputationService = payComputationService;
     _employeeService       = employeeService;
     _taxService            = taxService;
     _nationalInsuranceContributionService = nationalInsuranceContributionService;
 }
Ejemplo n.º 2
0
 public PayController(IPayComputationService payComputationService,
                      IEmployeeService employeeService, ITaxService taxService, INicService nicService)
 {
     _payComputationService = payComputationService;
     _employeeService       = employeeService;
     _taxService            = taxService;
     _nicService            = nicService;
 }
Ejemplo n.º 3
0
 public PayController(IPayComputationService payComputationService,
                      IEmployeeService employeeService,
                      ITaxService taxService,
                      INationalInsuranceContributionService nationalInsuranceContributionService)             //We need to inject the employee here, inject the IEmployeeService
 {
     _payComputationService = payComputationService;
     _employeeService       = employeeService;
     _taxService            = taxService;
     _nationalInsuranceContributionService = nationalInsuranceContributionService;
 }
Ejemplo n.º 4
0
 public PayController(IPayComputationService payComputationService,
                      IEmployeeService employeeService,
                      ITaxService taxService,
                      INationalInsuranceContributionService nationalInsuranceContributionService, ApplicationDbContext context)
 {
     _payComputationService = payComputationService;
     _employeeService       = employeeService;
     _taxService            = taxService;
     _nationalInsuranceContributionService = nationalInsuranceContributionService;
     _context = context;
 }