Example #1
0
        public PayrollCalculator(IEmployee employee)
        {
            if (employee == null)
            {
                throw new ArgumentNullException("employee");
            }

            this.employee = employee;

            this.timeSheetPersistance = new TimeSheetPersistance();

            this.salaryPersistance = new SalaryPersistance();
        }
Example #2
0
 public PayrollCalculator()
 {
     this.timeSheetPersistance = new TimeSheetPersistance();
 }