title: Delete multiple Items from a List of Id's using Entity Framework
body: <p>I need to delete multiple Ids from a <strong>List</strong> of Ids.</p>
  
  <pre><code>public IHttpActionResult Delete(List&lt;string&gt; IDs)
  {
      DealBazarEntities.Restaurants.RemoveRange(IDs);
      DealBazarEntities.SaveChanges();
  }
  </code></pre>
  
  <p>But <code>RemoveRange</code> does not allow multiple ids , it expect only <code>List&lt;entities&gt;</code>.</p>
  
  <p>Yes, I know that , if I send list of entities to server instead of sending List of ids , Then I can easily accomplish  this. But I don't like that.</p>
  
  <p>Again, I don't want to use <code>foreach</code> loop to loop through every Ids.</p>