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.
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).
1 Answer