This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\AtencaoBasica;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\Services\AtencaoBasica\RelatorioEstatisticoAtendimentoService;
|
||||
use Illuminate\Http\Response;
|
||||
|
||||
class RelatorioEstatisticoAtendimentoController extends Controller
|
||||
{
|
||||
protected $modulo = 'atencao-basica';
|
||||
protected $funcionalidade = 'relatorio-estatistico-atendimento';
|
||||
|
||||
public function index()
|
||||
{
|
||||
$this->auth(__FUNCTION__);
|
||||
return response()->json(RelatorioEstatisticoAtendimentoService::index(), Response::HTTP_OK);
|
||||
}
|
||||
|
||||
public function list()
|
||||
{
|
||||
return response()->json(RelatorioEstatisticoAtendimentoService::list(), Response::HTTP_OK);
|
||||
}
|
||||
|
||||
public function search()
|
||||
{
|
||||
return response()->json(RelatorioEstatisticoAtendimentoService::search(), Response::HTTP_OK);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user