コード例 #1
0
 public ActionResult <Keep> EditView([FromBody] Keep update, int id)
 {
     try
     {
         update.Id = id;
         return(Ok(_ks.EditView(update)));
     }
     catch (Exception e)
     {
         return(BadRequest(e.Message));
     }
 }