title: Comapare Ienumerable<int> and List<Entity> and get matching ID's
body: <p>I have <code>Ienumerable&lt;int&gt; Temp1;</code> from DB</p>
  
  <p>and other <code>List&lt;entity&gt; Temp2;</code> with properties <strong>Id and name</strong>.</p>
  
  <p>I want to <code>compare Temp1 &amp; Temp2(Id)</code> and find the matching Values and have it in a List.</p>
  
  <p>What is the best way to implement this ?</p>
  
  <p>Thanks</p>