courseWishlistService->createWishlist($request->validated()); return back()->with('success', 'Course added to wishlist'); } /** * Remove the specified resource from storage. */ public function destroy(string $id) { $this->courseWishlistService->deleteWishlist($id); return back()->with('success', 'Course removed from wishlist'); } }