This commit is contained in:
15
api/app/Http/Controllers/Geral/TermoInvalidoController.php
Normal file
15
api/app/Http/Controllers/Geral/TermoInvalidoController.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Geral;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\Models\Cns\TermoInvalido;
|
||||
use Illuminate\Http\Response;
|
||||
|
||||
class TermoInvalidoController extends Controller
|
||||
{
|
||||
public function index()
|
||||
{
|
||||
return response()->json($this->get(TermoInvalido::class)->get(), Response::HTTP_OK);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user