Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

ISearchTermService.cs

using Nop.Core;
using Nop.Core.Domain.Common;

namespace Nop.Services.Common;

/// 
/// Search term service interface
/// 
public partial interface ISearchTermService
{
    /// 
    /// Gets a search term record by keyword
    /// 
    /// Search term keyword
    /// Store identifier
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the search term
    /// 
    Task GetSearchTermByKeywordAsync(string keyword, int storeId);

    /// 
    /// Gets a search term statistics
    /// 
    /// Page index
    /// Page size
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains a list search term report lines
    /// 
    Task> GetStatsAsync(int pageIndex = 0, int pageSize = int.MaxValue);

    /// 
    /// Inserts a search term record
    /// 
    /// Search term
    /// A task that represents the asynchronous operation
    Task InsertSearchTermAsync(SearchTerm searchTerm);

    /// 
    /// Updates the search term record
    /// 
    /// Search term
    /// A task that represents the asynchronous operation
    Task UpdateSearchTermAsync(SearchTerm searchTerm);
}