KUJUNTI.ID MINISH3LL
Path : /var/www/clients/client0/web25/web/app/Http/Controllers/
(S)h3ll Cr3at0r :
F!le Upl0ad :

B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H

Current File : /var/www/clients/client0/web25/web/app/Http/Controllers/AboutController.php


<?php

namespace App\Http\Controllers;

use App\Models\Grade;
use App\Models\Testimonial;
use App\Repositories\StaffRepository;
use App\Services\StaffService;
class AboutController extends Controller
{
    protected $staffService;
    public function index()
    {
        $highestGrade = Grade::where('hight_grade', true)->get()->first();
        // $certifiedTeachers = ($highestGrade != null) ? (Grade::findOrFail($highestGrade->id))->staffs()->get():null;
        $this->staffService = new StaffService(new StaffRepository);
        $certifiedTeachers = $this->staffService->getCertifiedTeachers();
        $testimonials = Testimonial::where('status','active')->get();
        return view('front.about', compact([
        'testimonials',
        'certifiedTeachers'
        ]));
    }
}

© KUJUNTI.ID

Website Feedback Form

Please fill out the form below to send us your feedback.




Contact Support