public function addVacancy()
 {
     $this->load->model('Vacancy');
     $vacancy = new Vacancy();
     $array["name"] = "testing";
     //request name;
     $array["description"] = "test desc";
     //request desc
     $array["typeid"] = 1;
     //request desc
     $array["userid"] = 1;
     //request desc
     $vacancy->addVacancy($array);
 }