Exemplo n.º 1
0
 public function getBookmarkedJobPostBySkills($skill_ids, $job_ids)
 {
     try {
         return CompanyJobSkill::select(DB::raw('DISTINCT(job_id)'))->whereIn('skill_id', $skill_ids)->whereIn('job_id', $job_ids)->get()->toArray();
     } catch (Exception $e) {
         return Response::json(['error' => $e->getMessage()]);
     }
 }