Esempio n. 1
0
        public Payroll GetCalculatedPayroll(CountryCodes countryCode, decimal hoursWorked, decimal hourlyRate)
        {
            var taxes = _taxRepository.GetTaxesByCountryCode(countryCode);

            return(new Payroll(taxes, countryCode, hoursWorked, hourlyRate));
        }