title: Calling DELETE method in Web API
body: <p>In a new Web API project with :</p>
  
  <ul>
  <li><p><strong><code>GET</code> method</strong></p>
  
  <pre><code>// GET api/values/5
  public string Get(int id)
  {
      return "value";
   }
  </code></pre></li>
  <li><p><strong><code>DELETE</code> method</strong></p>
  
  <pre><code>// DELETE api/values/5
  public void Delete(int id)
  {
      var client = new MongoClient("mongodb://localhost:27017");
      var server = client.GetServer();
      var db = server.GetDatabase("Test");
      var collection = db.GetCollection&lt;Entity&gt;("Entities");
      var deleteEntity = Query&lt;Entity&gt;.EQ(e =&gt; e.Id, id);
      collection.Remove(deleteEntity);        
  }
  </code></pre></li>
  </ul>
  
  <p>They have a similar URL: <code>api/values/5</code>.</p>
  
  <p>When I want to call the <code>Delete</code> method, it executes the <code>Get</code> method. What do I do?</p>