Ejemplo n.º 1
0
 public IQueryable <Film> AutoCompleteFilm(string matching)
 {
     return(ExampleService.AllFilms().Where(x => x.Title.ToUpper().Contains(matching)));
 }
Ejemplo n.º 2
0
 public IQueryable <Customer> AutoCompleteCustomer(string matching)
 {
     return(ExampleService.AllCustomers().Where(x => x.FullName.ToUpper().Contains(matching)));
 }