app/Http/Controllers/OrganizationController.php
/**
     * Remove the specified resource from storage.
     *
     * @param  \App\Organization  $organization
     * @return \Illuminate\Http\Response
     */
Remove the specified resource from storage.
Remove the specified resource from storage .
public function destroy(Organization $organization)
    {
        $organization->users()->detach();
        $organization->delete();
        return $organization->all();
    }
public function destroy ( Organization $ organization ) { $ organization -> users ( ) -> detach ( ) ; $ organization -> delete ( ) ; return $ organization -> all ( ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .