public Dictionary <int, EmployeeSalary> CalculateMonthlySalary()
 {
     foreach (int Id in emplist.Keys)
     {
         EmployeeBO emp = emplist[Id];
         if (emp.JobType == "Permanent")
         {
             permanentEmployees.Add(Id, new EmployeeSalary()
             {
                 EmpId         = emp.Id,
                 EmpName       = emp.Name,
                 MonthlySalary = emp.AnnualSalary / 12
             }
                                    );
         }
     }
     return(permanentEmployees);
 }
 public Dictionary <int, EmployeeSalary> CalculateMonthlySalary()
 {
     foreach (int Id in emplist.Keys)
     {
         EmployeeBO emp = emplist[Id];
         if (emp.JobType == "Consultant")
         {
             consultantEmployees.Add(Id, new EmployeeSalary()
             {
                 EmpId         = emp.Id,
                 EmpName       = emp.Name,
                 MonthlySalary = emp.HourlyRate * 8 * 20
             }
                                     );
         }
     }
     return(consultantEmployees);
 }