Example #1
0
        internal static void Main(string[] args)
        {
            RoundService roundService = new RoundService();
            TaxRuleService taxRuleService = new TaxRuleService(roundService);

            EmployeeIncomeService employeeIncomeService = new EmployeeIncomeService(taxRuleService, roundService);

            var employeeList = GetEmployeeInfos();

            OutputToFile(employeeList, employeeIncomeService);
        }
 public void Init()
 {
     RoundService roundService = new RoundService();
     TaxRuleService taxRuleService = new TaxRuleService(roundService);
     this.employeeIncomeService = new EmployeeIncomeService(taxRuleService, roundService);
 }
 public void Init()
 {
     RoundService roundService = new RoundService();
     this.taxRuleService = new TaxRuleService(roundService);
 }