<?php

namespace App\Http\Controllers\Web;

use App\Http\Controllers\Controller;
use App\Models\Client;
use Illuminate\View\View;

class ClientsController extends Controller
{
    public function index(): View
    {
        $clients = Client::query()->orderByDesc('created_at')->get();

        return view('clients.index', compact('clients'));
    }
}
