How do you call .Distinct() on an Array of objects : <p>So in the controller, I accept a list of objects as follows:</p>

<pre><code>    public virtual ActionResult Grid_Read([DataSourceRequest]DataSourceRequest request, IEnumerable&lt;ObjDTO&gt; objects)
    {
         var DistinctList = objects.Distinct();

         return Json(DistinctList.ToDataSourceResult(request), JsonRequestBehavior.AllowGet);
    }
</code></pre>

<p>But the .Distinct() does nothing to the list.</p>
