Beispiel #1
0
        public List <Employee> getAllEmployees()
        {
            EmployeeData employeeData = new EmployeeData();

            return(employeeData.getEmployees());
        }
Beispiel #2
0
        public Employee getEmployeeByID(int employeeID)
        {
            EmployeeData employeeData = new EmployeeData();

            return(employeeData.getEmployees().Find(a => a.ID == employeeID));
        }