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