app/Http/Controllers/Admin/CompanyController.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(Company $company)
    {
        $company = Company::find($company->id);
        $company->delete();
        return redirect()->back()->with('success', 'Company deleted!');
    }
public function destroy ( Company $ company ) { $ company = Company :: find ( $ company -> id ) ; $ company -> delete ( ) ; return redirect ( ) -> back ( ) -> with ( 'success' , 'Company deleted!' ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .