28 lines
727 B
PHP
28 lines
727 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\Ambulatorio;
|
|
|
|
use App\Http\Controllers\Controller;
|
|
use App\Services\Ambulatorio\RelatorioQuantitativoAtendimentoService;
|
|
use Illuminate\Http\Response;
|
|
|
|
class RelatorioQuantitativoAtendimentoController extends Controller
|
|
{
|
|
protected $modulo = 'ambulatorio';
|
|
protected $funcionalidade = 'relatorio-quantitativo-atendimento';
|
|
|
|
public function index()
|
|
{
|
|
$this->auth(__FUNCTION__);
|
|
|
|
return response()->json(RelatorioQuantitativoAtendimentoService::index(), Response::HTTP_OK);
|
|
}
|
|
|
|
public function list()
|
|
{
|
|
$this->auth(__FUNCTION__);
|
|
|
|
return response()->json(RelatorioQuantitativoAtendimentoService::list(), Response::HTTP_OK);
|
|
}
|
|
}
|