public void deleteEvse(Long chargingStationTypeId, Long id) {
        ChargingStationType chargingStationType = chargingStationTypeRepository.findOne(chargingStationTypeId);

        chargingStationType.getEvses().remove(getEvseById(chargingStationType, id));

        updateChargingStationType(chargingStationType.getId(), chargingStationType);
    }
public void deleteEvse ( Long chargingStationTypeId , Long id ) { ChargingStationType chargingStationType = chargingStationTypeRepository . findOne ( chargingStationTypeId ) ; chargingStationType . getEvses ( ) . remove ( getEvseById ( chargingStationType , id ) ) ; updateChargingStationType ( chargingStationType . getId ( ) , chargingStationType ) ; }
Delete an evse.

@param chargingStationTypeId charging station identifier.
@param id                    the id of the evse to delete.