Ejemplo n.º 1
0
 public function publishedJobPost(CompanyService $company, $user_id, $company_id, $job_id)
 {
     try {
         if ($company->publishCompanyJob($job_id)) {
             return $this->json_response->success();
         }
         return $this->json_response->error();
     } catch (Exception $e) {
         return $this->json_response->error(['error' => $e->getMessage()]);
     }
 }