22 lines
387 B
PHP
22 lines
387 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\Geral;
|
|
|
|
use App\Http\Controllers\Controller;
|
|
use App\Services\Geral\CiapService;
|
|
|
|
class CiapController extends Controller
|
|
{
|
|
public function autocomplete()
|
|
{
|
|
return datatables()
|
|
->of(CiapService::autocomplete())
|
|
->toJson();
|
|
}
|
|
|
|
public function index()
|
|
{
|
|
return CiapService::index();
|
|
}
|
|
}
|