src/Api/Controllers/ProductController.php
public function destroy($id)
    {
        $product = Product::find($id);
        $product->delete();
        return JsonResponse::create(null, 204);
    }
public function destroy($id)
    {
        $product = Product::find($id);
        $product->delete();
        return JsonResponse::create(null, 204);
    }
public function destroy ( $ id ) { $ product = Product :: find ( $ id ) ; $ product -> delete ( ) ; return JsonResponse :: create ( null , 204 ) ; }
Destroy an Record and Return Null Json Response

@return \Illuminate\Http\JsonResponse
Destroy an Record and Return Null Json Response