Пример #1
0
 public function saveJobInterview(JobInterview $jobInterview)
 {
     try {
         if ($jobInterview->getId() == "") {
             $idGenService = new IDGeneratorService();
             $idGenService->setEntity($jobInterview);
             $jobInterview->setId($idGenService->getNextID());
         }
         $jobInterview->save();
         return true;
     } catch (Exception $e) {
         throw new DaoException($e->getMessage());
     }
 }