app/Http/Controllers/Backend/TeacherController.php
/**
     * Show the form for creating a new resource.
     *
     * @return \Illuminate\Http\Response
     */
Show the form for creating a new resource.
@return \Illuminate\Http\Response
Show the form for creating a new resource . @return \ Illuminate \ Http \ Response
public function create()
    {
        $specializations = $this->Teacher->Getspecialization();
         $genders = $this->Teacher->GetGender();
         return view('backend.teacher.create',compact('specializations','genders'));
    }
public function create ( ) { $ specializations = $ this -> Teacher -> Getspecialization ( ) ; $ genders = $ this -> Teacher -> GetGender ( ) ; return view ( 'backend.teacher.create' , compact ( 'specializations' , 'genders' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .