I have the following code for a search functionality:
productsData = productsData.Where(m => m.Name.Contains(searchValue)