<?php

namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use App\Repositories\Interfaces\Bannerinterface;
use App\Repositories\Interfaces\UserInterface;
use App\Traits\FileUploadTrait;
use Illuminate\Http\Request;
use App\Models\BlogCat;
use App\Models\User;
use Illuminate\View\View;
use App\Models\CourseCategory;
class UserController extends Controller
{

    use FileUploadTrait;
    private $repoBlog;
    private $repoUser;

    public function __construct(Bannerinterface $repoBlog , UserInterface $repoUser)
    {
        $this->repoBlog = $repoBlog;
         $this->repoUser = $repoUser;
    }

  public function getUserList(Request $request)
{
    $data = $this->repoUser->getUserList($request);
       

    return view('Admin.User.list')->with('records', $data);
}






}
