title: Linq groupby with where clause
body: <p>I am attempting to group my items and have a where clause included and I am not quite sure where to put my items.</p>
  
  <p>here is what i have so far:</p>
  
  <pre><code>@{
  var trust = new trusteeEntities();
  var gen = (from g in trust.Documents               
             where g.doc_type == "Minutes"
             orderby g.meeting_date descending
             group g by g.meeting_date into f
             select g);
  
      foreach (var f in gen)
      {        
         &lt;div class="documents"&gt;   
            &lt;span class="date"&gt;@string.Format("{0:MMMM d, yyyy}", f.meeting_date)&lt;/span&gt; 
              &lt;p&gt;&lt;a href="/@f.filename"&gt;@f.title&lt;/a&gt;&lt;/p&gt;                
         &lt;/div&gt;        
      }   
    }  
  </code></pre>