store(request('productId')); } /** * Remove the specified resource from storage. * * @param int $productId * @param \Modules\Compare\Compare $compare * @return \Illuminate\Http\Response */ public function destroy($productId, Compare $compare) { $compare->remove($productId); } }