title: asp.net web API HTTP PUT method
body: <p>I have some resource- UserProfile</p>
  
  <pre><code>public UserProfile
  {
     public string Email{get;set;}
     public string Password{get;set;}
  }
  </code></pre>
  
  <p>I want to change Email and Password separatly (only one for user at same time). I have web api controller for example /api/user/123  that handle requests in RESTful style. Follow the RESTful style i should have <strong>one</strong> method <strong>PUT</strong> which update the resource, but i have two task that update the same resource api/user/123. I need to add some feature to PUT request body like
  {email:'test@domain.com', <strong>changeType:'email</strong>'} or {password:'12345678',<strong>changeType:'password'</strong> }  to write some  if in my PUT method ? Or there is some other way to update my resource in RESTful style ?     </p>