Files
Antonio Lopes dos Santos afec302c3e
All checks were successful
build-api-image / build (push) Successful in 51s
init commit
2026-08-04 16:52:02 -03:00

22 lines
494 B
PHP

<?php
namespace App\Http\Controllers\Mobile\ConectaCidadao\Farmacia;
use App\Http\Controllers\Controller;
use App\Services\Mobile\ConectaCidadao\Farmacia\ReceitaService;
use Illuminate\Http\Response;
class ReceitaController extends Controller
{
public function index()
{
return response()->json(ReceitaService::index(), Response::HTTP_OK);
}
public function show(int $id)
{
return response()->json(ReceitaService::show($id), Response::HTTP_OK);
}
}