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