app/Http/Controllers/Admin/staffController.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()
    {
        $staff = Staff::all();
        $title = Title::all();
        $level = Level::all();
        $department = Department::all();
        $city = $this->city();
        $district = $this->district();
        return view('Admin.Staff.add',compact('staff','title','level','department','city','district'));
    }
public function create ( ) { $ staff = Staff :: all ( ) ; $ title = Title :: all ( ) ; $ level = Level :: all ( ) ; $ department = Department :: all ( ) ; $ city = $ this -> city ( ) ; $ district = $ this -> district ( ) ; return view ( 'Admin.Staff.add' , compact ( 'staff' , 'title' , 'level' , 'department' , 'city' , 'district' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .