auth(__FUNCTION__); return response()->json(RelatorioInconsistenciaService::index(), Response::HTTP_OK); } public function list() { $this->auth(__FUNCTION__); return response()->json(RelatorioInconsistenciaService::list(), Response::HTTP_OK); } public function show($id) { $this->auth(__FUNCTION__); return response()->json(RelatorioInconsistenciaService::show($id), Response::HTTP_OK); } public function datatable() { return datatables()->of(RelatorioInconsistenciaService::datatable())->make(true); } }