@Override
 public Map<Integer, String> getCompetencyDropDown() {
   List<Competency> competencies = competencyDAO.getAllActiveCompetencies();
   Map<Integer, String> competencyDropDown = new HashMap<Integer, String>();
   Iterator competenciesIterator = competencies.iterator();
   while (competenciesIterator.hasNext()) {
     Competency competency = (Competency) competenciesIterator.next();
     competencyDropDown.put(competency.getCompetencyId(), competency.getCompetencyName());
   }
   return competencyDropDown;
 }
  @Override
  public int saveCompetency(Competency competency) {

    return competencyDAO.saveCompetency(competency);
  }
 @Override
 public List<Competency> getAllCompetencies() {
   return competencyDAO.getAllCompetencies();
 }
  @Override
  public Competency getCompetencyById(int competencyId) {

    return competencyDAO.getCompetencyById(competencyId);
  }