Exemplo n.º 1
0
 // PUT: api/Lookup/5
 public bool Put(int id, [FromBody] AddressModel address)
 {
     return(id > 0 && _addressServices.Update(id, address));
 }
Exemplo n.º 2
0
 [HttpPut]// api/Address/5
 public void Put([FromBody] Address value)
 {
     _addressServices.Update(value);
 }