Beispiel #1
0
 public async Task <Contact> Update(int id, [FromBody] Contact value)
 {
     try
     {
         return(await StoreDB.UpdateContactAsync(id, value));
     }
     catch (Exception)
     {
         return(null);
     }
 }