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.Models.Topics;

namespace Nop.Web.Factories;

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

    /// 
    /// Get the topic model by topic system name
    /// 
    /// Topic system name
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the topic model
    /// 
    Task PrepareTopicModelBySystemNameAsync(string systemName);

    /// 
    /// Get the topic template view path
    /// 
    /// Topic template identifier
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the view path
    /// 
    Task PrepareTemplateViewPathAsync(int topicTemplateId);
}