예제 #1
0
 public string Put(string id, [FromBody] ToDoTask objtask)
 {
     try
     {
         objcommondb.UpdateToDoTask(objtask);
         return("Update SuccessFully.");
     }
     catch (DbUpdateConcurrencyException e)
     {
         return(e.Message.ToString());
     }
 }