31 lines
844 B
PHP
31 lines
844 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\AtencaoBasica;
|
|
|
|
use App\Http\Controllers\Controller;
|
|
use App\Services\AtencaoBasica\RelatorioAcessoCuidadoProgramadoService;
|
|
use Illuminate\Http\Response;
|
|
|
|
class RelatorioAcessoCuidadoProgramadoController extends Controller
|
|
{
|
|
protected $modulo = 'atencao-basica';
|
|
protected $funcionalidade = 'relatorio-acesso-cuidado-programado';
|
|
|
|
public function index()
|
|
{
|
|
$this->auth(__FUNCTION__);
|
|
|
|
return response()->json(RelatorioAcessoCuidadoProgramadoService::index(), Response::HTTP_OK);
|
|
}
|
|
|
|
public function create()
|
|
{
|
|
return response()->json(RelatorioAcessoCuidadoProgramadoService::create(), Response::HTTP_OK);
|
|
}
|
|
|
|
public function list()
|
|
{
|
|
return response()->json(RelatorioAcessoCuidadoProgramadoService::list(), Response::HTTP_OK);
|
|
}
|
|
}
|