39 lines
1.1 KiB
PHP
39 lines
1.1 KiB
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\AtencaoBasica\RelatorioInconsistencia;
|
|
|
|
use App\Http\Controllers\Controller;
|
|
use App\Services\AtencaoBasica\RelatorioInconsistencia\RelatorioInconsistenciaService;
|
|
use Illuminate\Http\Response;
|
|
|
|
class RelatorioInconsistenciaController extends Controller
|
|
{
|
|
protected $modulo = 'atencao-basica';
|
|
protected $funcionalidade = 'relatorio-inconsistencia';
|
|
|
|
public function index()
|
|
{
|
|
return response()->json(RelatorioInconsistenciaService::index(), Response::HTTP_OK);
|
|
}
|
|
|
|
public function list()
|
|
{
|
|
return response()->json(RelatorioInconsistenciaService::list(), Response::HTTP_OK);
|
|
}
|
|
|
|
public function getUnidades()
|
|
{
|
|
return response()->json(RelatorioInconsistenciaService::getUnidades(), Response::HTTP_OK);
|
|
}
|
|
|
|
public function getInfraestruturas()
|
|
{
|
|
return response()->json(RelatorioInconsistenciaService::getInfraestruturas(), Response::HTTP_OK);
|
|
}
|
|
|
|
public function getUsuarios()
|
|
{
|
|
return response()->json(RelatorioInconsistenciaService::getUsuarios(), Response::HTTP_OK);
|
|
}
|
|
}
|