31 lines
824 B
PHP
31 lines
824 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\Administracao;
|
|
|
|
use App\Http\Controllers\Controller;
|
|
use App\Services\Administracao\RelatorioAcessoFuncionalidadeService;
|
|
use Illuminate\Http\Response;
|
|
|
|
class RelatorioAcessoFuncionalidadeController extends Controller
|
|
{
|
|
protected $modulo = 'administracao';
|
|
protected $funcionalidade = 'relatorio-acesso-funcionalidade';
|
|
|
|
public function index()
|
|
{
|
|
$this->auth(__FUNCTION__);
|
|
|
|
return response()->json(RelatorioAcessoFuncionalidadeService::index(), Response::HTTP_OK);
|
|
}
|
|
|
|
public function create()
|
|
{
|
|
return response()->json(RelatorioAcessoFuncionalidadeService::create(), Response::HTTP_OK);
|
|
}
|
|
|
|
public function list()
|
|
{
|
|
return response()->json(RelatorioAcessoFuncionalidadeService::list(), Response::HTTP_OK);
|
|
}
|
|
}
|