Ejemplo n.º 1
0
 public ActionResult <Keep> EditStats([FromBody] Keep updated, int id)
 {
     try
     {
         return(Ok(_ks.EditStats(updated)));
     }
     catch (Exception e)
     {
         return(BadRequest(e.Message));
     }
 }