src/Http/Controllers/Managerarea/ManagersController.php
public function import(Manager $manager, ImportRecordsDataTable $importRecordsDataTable)
    {
        return $importRecordsDataTable->with([
            'resource' => $manager,
            'tabs' => 'managerarea.attributes.tabs',
            'url' => route('managerarea.attributes.stash'),
            'id' => "managerarea-attributes-{$manager->getRouteKey()}-import-table",
        ])->render('cortex/foundation::managerarea.pages.datatable-dropzone');
    }
public function import(Manager $manager, ImportRecordsDataTable $importRecordsDataTable)
    {
        return $importRecordsDataTable->with([
            'resource' => $manager,
            'tabs' => 'managerarea.attributes.tabs',
            'url' => route('managerarea.attributes.stash'),
            'id' => "managerarea-attributes-{$manager->getRouteKey()}-import-table",
        ])->render('cortex/foundation::managerarea.pages.datatable-dropzone');
    }
public function import ( Manager $ manager , ImportRecordsDataTable $ importRecordsDataTable ) { return $ importRecordsDataTable -> with ( [ 'resource' => $ manager , 'tabs' => 'managerarea.attributes.tabs' , 'url' => route ( 'managerarea.attributes.stash' ) , 'id' => "managerarea-attributes-{$manager->getRouteKey()}-import-table" , ] ) -> render ( 'cortex/foundation::managerarea.pages.datatable-dropzone' ) ; }
Import managers.

@param \Cortex\Auth\Models\Manager                          $manager
@param \Cortex\Foundation\DataTables\ImportRecordsDataTable $importRecordsDataTable

@return \Illuminate\View\View
Import managers .