app/Http/Controllers/Admin/EmployeeController.php
/**
     * Remove the specified resource from storage.
     *
     * @param  \App\Company  $company
     * @return \Illuminate\Http\Response
     */
Remove the specified resource from storage.
Remove the specified resource from storage .
public function destroy(Employee $employee)
    {
        $employee = Employee::find($employee->id);
        $employee->delete();
        return redirect()->back()->with('success', 'Employee account deleted!');
    }
public function destroy ( Employee $ employee ) { $ employee = Employee :: find ( $ employee -> id ) ; $ employee -> delete ( ) ; return redirect ( ) -> back ( ) -> with ( 'success' , 'Employee account deleted!' ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .