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