title: MVC Web Api difference between HttpPost and HttpPut
body: <p>I'm new to MVC Web Api.</p>
  
  <p>I want to have two different methods.</p>
  
  <p>PUT <code>localhost/api/user</code> - to modify a user</p>
  
  <p>POST <code>localhost/api/user</code> - to add a user</p>
  
  <p>So my <code>ApiController</code> looks like this:</p>
  
  <pre><code>    [HttpPost]
      public bool user(userDTO postdata)
      {
          return dal.addUser(postdata);
      }
  
      [HttpPut]
      public bool user(userDTO postdata)
      {
          return dal.editUser(postdata);
      }
  </code></pre>
  
  <p>However my <code>HttpPut</code> method says "already defines a member called user with the same parameter types.</p>
  
  <p>Shouldn't the <code>[HttpPost]</code> and <code>[HttpPut]</code> make the methods unique?</p>