public List <Employee> getEmployees()
        {
            employeeRepository = new EmployeeRepository();
            List <Employee>         employees = employeeRepository.getAllEmployees();
            EmployeeContractFactory employeeContractFactory = new EmployeeContractFactory();

            foreach (Employee employee in employees)
            {
                employee.Salary = (employeeContractFactory.getEmployeeByContractType(employee)).getCalculatedAnnualSalary();
            }

            return(employees);
        }
        public Employee getEmployeeByID(int employeeID)
        {
            employeeRepository = new EmployeeRepository();
            Employee employee = employeeRepository.getEmployeeByID(employeeID);

            if (employee == null)
            {
                return(null);
            }
            EmployeeContractFactory employeeContractFactory = new EmployeeContractFactory();

            employee.Salary = (employeeContractFactory.getEmployeeByContractType(employee)).getCalculatedAnnualSalary();

            return(employee);
        }