<?php
declare(strict_types=1);

require_once __DIR__ . '/../../config/database.php';
require_once __DIR__ . '/../../core/Response.php';

$db = Database::getInstance();

$stmt = $db->query("
    SELECT id, name
    FROM cst_managers
    WHERE status = 'Active'
    ORDER BY name ASC
");

Response::success('CST managers fetched', $stmt->fetchAll());
