Custom enumerable type in as argument in ASP.NET MVC
===

I work on a ASP.NET MVC project that needs to be able to filter data in an extensible way. I've decided to use a class to represent a single filter criterion (I am aware that it could be a `Dictionary` at this point, but I might need to add other properties later):

    public class FilterCriterion
    {
        public string FilterName { get; set; }
    
        public string FilterValue { get; set; }
    }

And this is the controller method signature I had in mind that will return filtered data:

    public JsonResult GetMultipleShowDetailsByFilter(IEnumerable<FilterCriterion> filters, int pageNumber, int itemsPerPage)

This method will be called from the web page (using JavaScript) and will return a JSON containing a set of entities that will be then displayed on the page.

I assume I will need some kind of converter that will accept the arguments in a raw state and create and enumerable object implementing `IEnumerable<FilterCriterion>`. Maybe I could use a `ModelBinder`, but I am not really sure how.

Can you nudge me in the right direction? Thanks.