<?php

namespace App\Core\Audit\Controllers;

use App\Controllers\BaseController;
use App\Core\Audit\Services\AuditService;

class AuditController extends BaseController
{
    public function index()
    {
        return view('core/audit/index', [
            'title' => 'Journal d’audit',
            'logs' => (new AuditService())->getRecentLogs(200),
        ]);
    }
}
