Try your search with a different keyword or use * as a wildcard.
using Nop.Core.Domain.Orders;
namespace Nop.Services.Orders;
/// <summary>
/// Custom wishlist service interface
/// </summary>
public partial interface ICustomWishlistService
{
/// <summary>
/// Retrieves all custom wishlists associated with the specified customer.
/// </summary>
/// <param name="customerId">The unique identifier of the customer whose custom wishlists are to be retrieved.</param>
/// <returns>A task that represents the asynchronous operation. The task result contains a list of <see
/// cref="CustomWishlist"/> objects associated with the specified customer. If multiple wishlists are not allowed,
/// an empty list is returned.</returns>
Task<IList<CustomWishlist>> GetAllCustomWishlistsAsync(int customerId);
/// <summary>
/// Adds a custom wishlist item to the repository.
/// </summary>
/// <param name="item">The custom wishlist item to add. Cannot be <see langword="null"/>.</param>
Task AddCustomWishlistAsync(CustomWishlist item);
/// <summary>
/// Removes a custom wishlist item with the specified identifier.
/// </summary>
/// <param name="itemId">The unique identifier of the custom wishlist item to remove. Must be a valid identifier of an existing item.</param>
Task RemoveCustomWishlistAsync(int itemId);
/// <summary>
/// Retrieves a custom wishlist by its unique identifier.
/// </summary>
/// <param name="itemId">The unique identifier of the custom wishlist to retrieve. Must be a positive integer.</param>
/// <returns>A <see cref="CustomWishlist"/> object representing the custom wishlist with the specified identifier. Returns
/// null if no wishlist is found with the given identifier.</returns>
Task<CustomWishlist> GetCustomWishlistByIdAsync(int itemId);
}