}//+ #endregion public List <BE.Client> select_client(catagory_of_vehicles cat) { List <Client> temp = (from item in ((List <Client>)Dal.return_list(BE.retur.client)) where ((item.rishoi.catgor >= cat) && (item.Age >= 18))//בודקת את התנאי של הפונקצייה select item).ToList(); if (temp == null) { throw new Exception("אין לקוחות זמינים"); } return(temp); }
public rishion_rachav(catagory_of_vehicles cov, DateTime dt) { type = cov; test = dt; }