app/Http/Controllers/Dashboard/EmpolyeeController.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()
    {
        $employees=DB::table('employees')->get();
        return view('dashboard.employee.create',compact('employees',$employees));
    }
public function create ( ) { $ employees = DB :: table ( 'employees' ) -> get ( ) ; return view ( 'dashboard.employee.create' , compact ( 'employees' , $ employees ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .
//dd($employees);