added getVacancy method to VacancyDao