<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use App\Models\Customer;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Response;
class DashboardController extends Controller
{
    public function customersData(){
        $customers = Customer::all();
        return view('Admin.all_customers',compact('customers'));
        
    }   
}
