The new Web API "stuff" looks great. I will be re-writing the foundation of my site into an API, but have a couple scenarios that I've got concern with.
Is it a bad idea to have an action that looks something like:
GetProducts(long memberId, string categories, int minPrice, int maxPrice, ...)
Where each variable is something the product can be filtered by. If the variable is null/empty it wouldn't use them to build the query.
Or is there another technique for reaching the same goal?