This commit is contained in:
21
api/app/Http/Controllers/Geral/CiapController.php
Normal file
21
api/app/Http/Controllers/Geral/CiapController.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user