コード例 #1
0
 public bool Put(int id, [FromBody] Event existingEvent)
 {
     if (id > 0)
     {
         return(_eventService.UpdateEvent(id, existingEvent));
     }
     return(false);
 }