init commit
All checks were successful
build-api-image / build (push) Successful in 51s

This commit is contained in:
Antonio Lopes dos Santos
2026-08-04 16:52:02 -03:00
commit afec302c3e
11594 changed files with 1636728 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
<?php
namespace App\Http\Controllers\Mobile\ConectaCidadao\Agendamento;
use App\Http\Controllers\Controller;
use App\Services\Mobile\ConectaCidadao\Agendamento\AgendamentoService;
use Illuminate\Http\Response;
class AgendamentoController extends Controller
{
public function especialidades()
{
return response()->json(AgendamentoService::especialidades(), Response::HTTP_OK);
}
public function vagas()
{
return response()->json(AgendamentoService::vagas(), Response::HTTP_OK);
}
public function store()
{
return response()->json(AgendamentoService::store(), Response::HTTP_CREATED);
}
public function cancelar($id)
{
return response()->json(AgendamentoService::cancelar($id), Response::HTTP_OK);
}
public function historico()
{
return response()->json(AgendamentoService::historico(), Response::HTTP_OK);
}
}