title: MVC Paging- filter view model parameter passed to the action
body: <p>I'm working on a search functionality with options that are passed with a filter view model:</p>
  
  <pre><code>public class FilterViewModel
  {
      public string UserName { get; set; }
  
      public int? TownId { get; set; }
  
      [Display(Name = "Gender:")]
      public bool? IsMale { get; set; }
  
      [Display(Name = "Interests:")]
      public int[] InterestsIds { get; set; }
  
      public List&lt;ProfileInterest&gt; Interests { get; set; }
  
      ...
  
  }
  </code></pre>
  
  <p>The action is called with <code>Ajax</code>:</p>
  
  <pre><code>[HttpPost]
  public ActionResult FilterProfiles(FilterViewModel filter)
  {
     //Gets the filtered items and returns a partial view     
     ...
  }
  </code></pre>
  
  <p>Is there a paging library to manage <code>Ajax</code> and view model parameter passed to the action.</p>
  
  <p>Thanks!</p>