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