<?php

namespace App\Modules\Admin\Operations\Controllers;

use App\Http\Controllers\Controller;
use App\Modules\Admin\Operations\Services\BusinessMetricsService;
use Illuminate\View\View;

class BusinessMetricsController extends Controller
{
    public function index(BusinessMetricsService $metrics): View
    {
        return view('pages.admin.operations.business-metrics', [
            'metrics' => $metrics->snapshot(),
        ]);
    }
}
