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