@Override
 public List<DeviceDTO> getDevices() {
   List<Device> devices = deviceDao.loadAll();
   return convertDevices(devices);
 }
 public DeviceDTO getDevice(Long deviceId) {
   return convertDevice(deviceDao.get(deviceId));
 }