/** * Remove the specified resource from storage. * * @param int $id * @return Response */ public function destroy($id) { Product::where('products_id', '=', $id)->delete(); ProductsAttributes::where('products_id', '=', $id)->delete(); ProductsDescription::where('products_id', '=', $id)->delete(); return $this->response(array('statusCode' => 100, 'statusDescription' => 'Success', 'message' => "Product Deleted Successfully")); }