using Nop.Core.Domain.Catalog; namespace Nop.Services.Catalog; /// /// Compare products service interface /// public partial interface ICompareProductsService { /// /// Clears a "compare products" list /// void ClearCompareProducts(); /// /// Gets a "compare products" list /// /// /// A task that represents the asynchronous operation /// The task result contains the "Compare products" list /// Task> GetComparedProductsAsync(); /// /// Removes a product from a "compare products" list /// /// Product identifier /// A task that represents the asynchronous operation Task RemoveProductFromCompareListAsync(int productId); /// /// Adds a product to a "compare products" list /// /// Product identifier /// A task that represents the asynchronous operation Task AddProductToCompareListAsync(int productId); }