Exemplo n.º 1
0
 public Keep Put(int id, [FromBody] Keep keep)
 {
     if (ModelState.IsValid)
     {
         return(db.GetOneByIdAndUpdate(id, keep));
     }
     return(null);
 }