title: How do I write one method to handle all permutations of an advanced search feature in ASP.NET?
body: <p>I have an ASP.NET web page that has an advanced search tab. Within this tab I have 10 fields that can be used to refine the search further. I want to write a single method to handle all of the permutations that result from this search.</p>
  
  <p>What is the best way to achieve this? I know that I cannot create a search object to hold all the values and pass that in because the object cannot be exposed from the business layer to the UI layer).</p>