Exemplo n.º 1
0
 public EmployerController(IRepository<Employer> repository, ITotalCostCalculator totalCostCalculator, ICostPerPayPeriodCalculator costPerPayPeriodCalculator, IGrossSalaryPerPayPeriodCalculator grossSalaryPerPayPeriodCalculator, INetSalaryPerPayPeriodCalculator netSalaryPerPeriodCalculator, ITotalDependentCostCalculator totalDependentCostCalculator, IDependentCostPerPayPeriodCalculator dependentCostPerPayPeriodCalculator)
 {
     this.repository = repository;
     this.totalCostCalculator = totalCostCalculator;
     this.costPerPayPeriodCalculator = costPerPayPeriodCalculator;
     this.grossSalaryPerPayPeriodCalculator = grossSalaryPerPayPeriodCalculator;
     this.netSalaryPerPeriodCalculator = netSalaryPerPeriodCalculator;
     this.totalDependentCostCalculator = totalDependentCostCalculator;
     this.dependentCostPerPayPeriodCalculator = dependentCostPerPayPeriodCalculator;
 }
Exemplo n.º 2
0
 public TotalCostCalculator(IInitialCostCalculator initialCostCalculator, ITotalDependentCostCalculator _totalDependentCostCalculator, INameStartsWithLetterADiscountCalculator nameStartsWithLetterADiscountCalculator)
 {
     this.initialCostCalculator = initialCostCalculator;
     this._totalDependentCostCalculator = _totalDependentCostCalculator;
     this.nameStartsWithLetterADiscountCalculator = nameStartsWithLetterADiscountCalculator;
 }