title: Multiple PUT methods in ASP.NET Web API
body: <p>I have a controller <code>Groups</code> with the following actions:</p>
  
  <pre><code>public GroupModel Get(int ID)
  
  public GroupModel Post(CreateGroupModel model)
  
  public void Put(PublicUpdateGroupModel model)
  
  public void PutAddContacts(UpdateContactsModel model)
  
  public void PutRemoveContacts(UpdateContactsModel model)
  
  public void Delete(int ID)
  </code></pre>
  
  <p>And what I would like to do is use standard REST routing to call the standard get, post, put, delete mehods. But call the <code>PutAddContacts</code> and <code>PutRemoveContacts</code> if the action names are appended to the url, for example:</p>
  
  <p>GET groups/ - calls Get method</p>
  
  <p>POST groups/ - calls Post method</p>
  
  <p>PUT groups/ - calls Put method</p>
  
  <p>DELETE groups/ - calls Delete method</p>
  
  <p>PUT groups/addcontacts - calls PutAddContacts method</p>
  
  <p>PUT groups/removecontacts - calls PutRemoveContacts method</p>
  
  <p>Is it possible to set up routing to do this or do I need to go down the RPC route for routing if I want to use action names in my URL's?</p>