public function __construct(TaskRepository $taskRepo, DatatableService $datatableService) { $this->taskRepo = $taskRepo; $this->datatableService = $datatableService; }