public function index() { $dados = $this->docImgService->doclist(); //$documents = $this->documentRepository->findWhereIn('id_inscricao', $dados)->random(10); $documents = $this->documentRepository->findWhereIn('id_inscricao', $dados); //UPLOAD DE IMAGENS // $documents = $this->documentRepository->findWhereIn('id_inscricao', $dados); // $this->docImgService->refreshproject($documents); return view('store.index', compact('documents')); }
public function upload() { $dados = $this->docImgService->doclist(); //UPLOAD DE IMAGENS $documents = $this->documentRepository->findWhereIn('id_inscricao', $dados); $feedback = $this->docImgService->refreshproject($documents); echo $feedback; // return view('store.index', compact('documents')); }