public function approveCompany(CompanyService $company, $company_id) { try { $response = $company->approveCompany($company_id); return $this->json_response->success($response); } catch (Exception $e) { return $this->json_response->error(['error' => $e->getMessage()]); } }