app/Http/Controllers/Admin/teacherattController.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()
    {
        $teacheratt = Teacheratt::all();
        $teacher = Teacher::all();
        return view('Admin.Attendance.Teacher.add',compact('teacheratt','teacher'));
    }
public function create ( ) { $ teacheratt = Teacheratt :: all ( ) ; $ teacher = Teacher :: all ( ) ; return view ( 'Admin.Attendance.Teacher.add' , compact ( 'teacheratt' , 'teacher' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .