func UpdateDeskHandler(w http.ResponseWriter, r *http.Request) { desk := &data.Desk{} if data.UpdateRowFromJson(w, r, &desk) { respond(w, "desk", desk) } }
func UpdateDeskGroupHandler(w http.ResponseWriter, r *http.Request) { deskGroup := &data.DeskGroup{} if data.UpdateRowFromJson(w, r, &deskGroup) { respond(w, "deskGroup", deskGroup) } }
func UpdateRoomHandler(w http.ResponseWriter, r *http.Request) { room := &data.Room{} if data.UpdateRowFromJson(w, r, &room) { respond(w, "room", room) } }
func UpdatePlaceHandler(w http.ResponseWriter, r *http.Request) { place := &data.Place{} if data.UpdateRowFromJson(w, r, &place) { respond(w, "place", place) } }
func UpdateSectionHandler(w http.ResponseWriter, r *http.Request) { mp := &data.Section{} if data.UpdateRowFromJson(w, r, &mp) { respond(w, "mp", mp) } }