Example #1
0
        static void Main(string[] args)
        {
            TaxCalculation txc = new TaxCalculation(LogType.XML);

            Console.WriteLine(txc.Calculate(10, 5));
            Console.WriteLine(txc.Calculate(0, 0));
            Console.Read();
        }
Example #2
0
 public int GetTaxBySalary(int salary)
 {
     return(taxCalculation.Calculate(salary));
 }