I have an action that is tied to jqgrid filtering.
right now i have something like this.
public ActionResult GridData(GridData args)
{
IEnumerable<Car> car = model.GetCars();
// now i need to filter and return a Json object.
}
In my case i have a collection or car objects. Is there best practices to have filtering without having a big select case around each field?