auth(__FUNCTION__); return response()->json(RelatorioPacienteAtendidoService::index(), Response::HTTP_OK); } public function create() { return response()->json(RelatorioPacienteAtendidoService::create(), Response::HTTP_OK); } public function list() { $this->auth(__FUNCTION__); return response()->json(RelatorioPacienteAtendidoService::list(), Response::HTTP_OK); } public function autocompleteMaterial() { return datatables()->of(RelatorioPacienteAtendidoService::autocompleteMaterial())->toJson(); } }