示例#1
0
 public IEnumerable <Employee> AllEmployee() //ienumerable of Employee
 {
     return(dal.AllEmployee());              //return the fonction allEmployee of the dal(return of the list of Employee)
 }
示例#2
0
 public IEnumerable <Employee> AllEmployee(Func <Employee, bool> predicate = null)
 {
     return(dal.AllEmployee(predicate));
 }