Exemplo n.º 1
0
 public ActionResult <Keep> EditViewCount([FromBody] Keep editKeep, int id)
 {
     try
     {
         editKeep.Id = id;
         return(Ok(_ks.EditViewCount(editKeep)));
     }
     catch (Exception e)
     {
         return(BadRequest(e.Message));
     }
 }