auth(__FUNCTION__); return response()->json(AltoCustoGerenciamentoProcessoService::index($pacienteId), Response::HTTP_OK); } public function create($pacienteId) { $this->auth(__FUNCTION__); return response()->json(AltoCustoGerenciamentoProcessoService::create($pacienteId), Response::HTTP_OK); } public function store() { $this->auth(__FUNCTION__); return response()->json(AltoCustoGerenciamentoProcessoService::store(), Response::HTTP_CREATED); } public function edit($id) { $this->auth(__FUNCTION__); return response()->json(AltoCustoGerenciamentoProcessoService::edit($id), Response::HTTP_OK); } public function update($id) { $this->auth(__FUNCTION__); return response()->json(AltoCustoGerenciamentoProcessoService::update($id), Response::HTTP_OK); } public function destroy($id) { $this->auth(__FUNCTION__); AltoCustoGerenciamentoProcessoService::destroy($id); return response()->noContent(); } }