Exemplo n.º 1
0
 public IQueryable <Restaurant> InvokeRestaurantSearch(string filter)
 {
     selectedStrategy = strategies[UserChoice]; //e.g: Enum Name
     return(selectedStrategy.Search(filter));
 }