Beispiel #1
0
 // PUT: api/Player/5
 public void Put(int id, [FromBody] Player value)
 {
     PlayersStore.AddPlayer(value);
 }
Beispiel #2
0
 // POST: api/Player
 public void Post([FromBody] Player value)
 {
     PlayersStore.AddPlayer(value);
 }