<?php

namespace App\Http\Controllers\SuperAdmin;

use App\Http\Controllers\Controller;
use App\Services\SuperAdmin\PlatformAdminService;
use Illuminate\View\View;

class DashboardController extends Controller
{
    public function __invoke(PlatformAdminService $platform): View
    {
        return view('super-admin.dashboard', $platform->dashboardData());
    }
}
