This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\TransportePaciente;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
use Illuminate\Http\Response;
|
||||
use App\Services\TransportePaciente\ReimpressaoProtocoloService;
|
||||
|
||||
class ReimpressaoProtocoloController extends Controller
|
||||
{
|
||||
protected $modulo = 'transporte-paciente';
|
||||
|
||||
protected $funcionalidade = 'reimpressao-protocolo';
|
||||
|
||||
public function index()
|
||||
{
|
||||
$this->auth(__FUNCTION__);
|
||||
|
||||
return response()->json(ReimpressaoProtocoloService::index(), Response::HTTP_OK);
|
||||
}
|
||||
|
||||
public function search()
|
||||
{
|
||||
$this->auth(__FUNCTION__);
|
||||
|
||||
return response()->json(ReimpressaoProtocoloService::search(), Response::HTTP_OK);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user