Example #1
0
 // PUT /convention/5
 public User Put(User user)
 {
     return user;
 }
Example #2
0
 public void Put(int id, User user)
 {
 }
Example #3
0
 // POST /convention
 public User Post(User user)
 {
     // echo entity with Id populated and can create location.
     user.Id = users.Length; // Simulate Id gen.
     return user;
 }
Example #4
0
 public User Create(User user)
 {
     // echo entity with Id populated and can create location.
     return user;
 }