public function getJobPostStatistics(CompanyService $company, $user_id, $company_id, $job_id) { try { $response = ['date_lists' => $company->getDateLists($job_id), 'views' => $company->getDailyJobPostViews($job_id), 'matches' => $company->getDailyJobPostMatches($job_id), 'applicants' => $company->getDailyJobPostApplicants($job_id)]; return $this->json_response->success($response); } catch (Exception $e) { return $this->json_response->error(['error' => $e->getMessage()]); } }