Webiant Logo Webiant Logo
  1. No results found.

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

ITopicModelFactory.cs

using Nop.Core.Domain.Topics;
using Nop.Web.Areas.Admin.Models.Topics;

namespace Nop.Web.Areas.Admin.Factories;

/// 
/// Represents the topic model factory
/// 
public partial interface ITopicModelFactory
{
    /// 
    /// Prepare topic search model
    /// 
    /// Topic search model
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the topic search model
    /// 
    Task PrepareTopicSearchModelAsync(TopicSearchModel searchModel);

    /// 
    /// Prepare paged topic list model
    /// 
    /// Topic search model
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the topic list model
    /// 
    Task PrepareTopicListModelAsync(TopicSearchModel searchModel);

    /// 
    /// Prepare topic model
    /// 
    /// Topic model
    /// Topic
    /// Whether to exclude populating of some properties of model
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the topic model
    /// 
    Task PrepareTopicModelAsync(TopicModel model, Topic topic, bool excludeProperties = false);
}