This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Administracao;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\Services\Administracao\RelatorioPapelLotacaoService;
|
||||
use Illuminate\Http\Response;
|
||||
|
||||
class RelatorioPapelLotacaoController extends Controller
|
||||
{
|
||||
protected $modulo = 'administracao';
|
||||
protected $funcionalidade = 'relatorio-papel-lotacao';
|
||||
|
||||
public function index()
|
||||
{
|
||||
$this->auth(__FUNCTION__);
|
||||
|
||||
return response()->json(RelatorioPapelLotacaoService::index(), Response::HTTP_OK);
|
||||
}
|
||||
|
||||
public function create()
|
||||
{
|
||||
return response()->json(RelatorioPapelLotacaoService::create(), Response::HTTP_OK);
|
||||
}
|
||||
|
||||
public function list()
|
||||
{
|
||||
return response()->json(RelatorioPapelLotacaoService::list(), Response::HTTP_OK);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user