32 lines
799 B
PHP
32 lines
799 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\Parametrizacao;
|
|
|
|
use App\Http\Controllers\Controller;
|
|
|
|
use App\Services\Parametrizacao\RelatorioExameCadastradoService;
|
|
use Illuminate\Http\Response;
|
|
|
|
class RelatorioExameCadastradoController extends Controller
|
|
{
|
|
protected $modulo = 'parametrizacao';
|
|
protected $funcionalidade = 'relatorio-exame-cadastrado';
|
|
|
|
public function index()
|
|
{
|
|
$this->auth(__FUNCTION__);
|
|
|
|
return response()->json(RelatorioExameCadastradoService::index(), Response::HTTP_OK);
|
|
}
|
|
|
|
public function create()
|
|
{
|
|
return response()->json(RelatorioExameCadastradoService::create(), Response::HTTP_OK);
|
|
}
|
|
|
|
public function list()
|
|
{
|
|
return response()->json(RelatorioExameCadastradoService::list(), Response::HTTP_OK);
|
|
}
|
|
}
|