title: how to write query for optional parameters
body: <p>hello friends i am following 3 layer architecture for my project i mean
  presentation layer, business logic layer and finally database layer
  my question is that i am making a search feature for my project where i need to send parameter through  a method for search query which is to make on business logic layer
  i am to send parameter from presentation layer by calling some method and those parameter will be used on business logic layer's method to make appropriate query 
  it's not sure sure how many parameters will be send every time i mean parameters are optional 
  so my question is that how should i send these optional parameter for getting exactly the require parameter on business logic layer.</p>
  
  <p>What is the best way, i am programming in asp.net</p>