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