app/Http/Controllers/News/CategoryController.php
/**
     * Remove the specified resource from storage.
     *
     * @param  \App\Models\Category  $category
     * @return \Illuminate\Http\Response
     */
Remove the specified resource from storage.
Remove the specified resource from storage .
public function destroy(Category $category)
    {
        try{
        	 $category->delete();
		}catch(\Exception $exception) {
        	dd($exception->getMessage());
		}
    }
public function destroy ( Category $ category ) { try { $ category -> delete ( ) ; } catch ( \ Exception $ exception ) { dd ( $ exception -> getMessage ( ) ) ; } }
Remove the specified resource from storage.
Remove the specified resource from storage .