Пример #1
0
 public Employees FindEmployee(int id)
 {
     //returns the employee
     return(EmployeesRepository.FindEmployee(id));
 }
Пример #2
0
 //implements the service contracts via the interface
 public List <Employees> GetEmployee()
 {
     //returns from the database all of the employees as a list
     return(EmployeesRepository.GetEmployees());
 }