title: Filter IEnumerable<T> in Model
body: <p>In my <code>workorder</code> table I have a foreign key to my <code>comments</code> table: (This works)</p>
  
  <pre><code>public virtual IEnumerable&lt;Comment&gt; Comments { get; private set; }
  </code></pre>
  
  <p>A comment has a <code>CommentType</code> of <code>1</code> for a requestor or <code>2</code> for admin.  In my view, to display only the admin comments I do something like: (This also works)</p>
  
  <pre><code>@pir.Comments.Where(c =&gt; c.CommentTypeId == 2)
  </code></pre>
  
  <p>I don't want to have the <code>where</code> clause in my view, I would rather have it in the model.  I want to add a property in my model to automatically have filtered just the admin comments.  This is what I have tried:</p>
  
  <p>Add a new property:</p>
  
  <pre><code>public IEnumerable&lt;Comment&gt; AdminComments { get; set; }
  </code></pre>
  
  <p>Create a constructor:</p>
  
  <pre><code>public WorkOrder()
  {
      this.AdminComments = Comments. ????  There is no .where to do the filter
  }
  </code></pre>