Пример #1
0
 public Property Put(int id, [FromBody] Property property)
 {
     if (ModelState.IsValid)
     {
         return(db.GetOneByIdAndUpdate(id, property));
     }
     return(null);
 }