Files
rkm-conectasus-ci-sandbox/api/app/Http/Controllers/Mobile/ConectaSusAb/Cadastro/LoteamentoController.php
Antonio Lopes dos Santos afec302c3e
All checks were successful
build-api-image / build (push) Successful in 51s
init commit
2026-08-04 16:52:02 -03:00

22 lines
504 B
PHP

<?php
namespace App\Http\Controllers\Mobile\ConectaSusAb\Cadastro;
use App\Http\Controllers\Controller;
use App\Models\Cadastro\Localizacao\Loteamento;
use Illuminate\Http\Response;
class LoteamentoController extends Controller
{
protected $modulo = 'cadastro';
protected $funcionalidade = 'loteamento';
public function index()
{
$loteamentos = $this->get(Loteamento::class)->orderBy('nome')->get();
return response()->json($loteamentos, Response::HTTP_OK);
}
}