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