public double CalcPensionAmount(int salary, int allowances, int bankType, PensionType pensionType) { double pensionAmt; //provider = new ProcessProvider(); pensionAmt = provider.CalcPensionAmount(salary, allowances, bankType, pensionType); return(pensionAmt); }