@Transactional(readOnly = true)
  public Switch getSwitch(Integer id) {

    return switchDao.getSwitch(id);
  }
  @Transactional(readOnly = true)
  public List<Switch> getAllSwitches() {

    return switchDao.getAll();
  }