Beispiel #1
0
 public function permanentRemove(CompanyService $company, $user_id, $company_id, $job_id, $applicant_id)
 {
     try {
         $response = $company->applicantPermanentReject($applicant_id);
         if ($response) {
             return $this->json_response->success($response);
         }
         return $this->json_response->error();
     } catch (Exception $e) {
         return $this->json_response->error(['error' => $e->getMessage()]);
     }
 }