Пример #1
0
 // PUT api/characters/5
 public HttpResponseMessage Put(Character character)
 {
     Uow.Characters.Update(character);
     return Put();
 }
Пример #2
0
 // POST api/characters
 public HttpResponseMessage Post(Character character)
 {
     Uow.Characters.Add(character);
     return Post(character, new { id = character.Id });
 }