code: public ChargingStationType updateChargingStationType(Long id, ChargingStationType chargingStationType) {
          chargingStationType.setId(id);
          return chargingStationTypeRepository.createOrUpdate(chargingStationType);
      }
docs: Update a charging station type.
  
  @param id the id of the entity to find.
  @param chargingStationType the payload from the request.