Skip to content

Instantly share code, notes, and snippets.

@nunofilipecosta
Created January 28, 2014 12:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nunofilipecosta/8666904 to your computer and use it in GitHub Desktop.
Save nunofilipecosta/8666904 to your computer and use it in GitHub Desktop.
Serch for all or for searchTerm
public class Searcher
{
public void Search(string searchTerm = null)
{
// .Where(r => searchTerm == null || r.Name.Contains(searchTerm))
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment