public IQueryable <Product> AutoComplete0AddNewDetails([MinLength(3)] string matching) { return(ProductRepository.FindProductByName(matching)); }
public IQueryable <Product> AutoCompleteProduct([MinLength(2)] string name) { return(ProductRepository.FindProductByName(name)); }
public static IQueryable <Product> AutoComplete0AddNewDetail(this SalesOrderHeader soh, [Range(2, 0)] string name, IQueryable <Product> products) { return(ProductRepository.FindProductByName(name, products)); }