auth(__FUNCTION__); return response()->json(RelatorioEstatisticoPacienteService::index(), Response::HTTP_OK); } public function create() { return response()->json(RelatorioEstatisticoPacienteService::create(), Response::HTTP_OK); } public function list() { $this->auth(__FUNCTION__); return response()->json(RelatorioEstatisticoPacienteService::list(), Response::HTTP_OK); } }