app/Http/Controllers/CommunicationCategoryController.php
/**
     * Remove the specified resource from storage.
     *
     * @param  \App\Models\CommunicationCategory  $communicationCategory
     * @return \Illuminate\Http\Response
     */
Remove the specified resource from storage.
Remove the specified resource from storage .
public function destroy(CommunicationCategory $communicationcategory)
    {
        $communicationcategory->delete();
        return redirect()->route('c4s category')->withStatus(__('Category Successfully Deleted.'));
    }
public function destroy ( CommunicationCategory $ communicationcategory ) { $ communicationcategory -> delete ( ) ; return redirect ( ) -> route ( 'c4s category' ) -> withStatus ( __ ( 'Category Successfully Deleted.' ) ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .