예제 #1
0
 public Keep Update(int id, [FromBody] Keep keep)
 {
     if (ModelState.IsValid)
     {
         return(_repo.FindOneAndUpdate(id, keep));
     }
     return(null);
 }