app/Http/Controllers/SupplierCategoryController.php
/**
     * Remove the specified resource from storage.
     *
     * @param SupplierCategory $supplierCategory
     * @return JsonResponse
     */
Remove the specified resource from storage.
Remove the specified resource from storage .
public function destroy(SupplierCategory $supplierCategory)
    {
        if ($supplierCategory->delete())
        {
            return Helper::response_with_data(null, false);
        }
        return Helper::response_with_data(null, true);
    }
public function destroy ( SupplierCategory $ supplierCategory ) { if ( $ supplierCategory -> delete ( ) ) { return Helper :: response_with_data ( null , false ) ; } return Helper :: response_with_data ( null , true ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .