<?php

namespace App\Http\Controllers\Admin;

use App\Http\Controllers\Controller;
use App\Models\LeasingProfile;
use Illuminate\Http\Request;

class LeasingController extends Controller
{
    public function index()
    {
        $leasings = LeasingProfile::with('user')->latest()->paginate(20);
        return view('admin.leasing.index', compact('leasings'));
    }
}
