public function deleteUserJob(UserService $user, $user_id, $job_id) { try { $response = $user->deleteUserJob($job_id); if ($response) { return $this->json_response->success($response); } return $this->json_response->error($response); } catch (Exception $e) { return $this->json_response->error(['error' => $e->getMessage()]); } }