Webiant Logo Webiant Logo
  1. No results found.

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

IForumModelFactory.cs

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

namespace Nop.Web.Areas.Admin.Factories;

/// 
/// Represents the forum model factory
/// 
public partial interface IForumModelFactory
{
    /// 
    /// Prepare forum group search model
    /// 
    /// Forum group search model
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the forum group search model
    /// 
    Task PrepareForumGroupSearchModelAsync(ForumGroupSearchModel searchModel);

    /// 
    /// Prepare paged forum group list model
    /// 
    /// Forum group search model
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the forum group list model
    /// 
    Task PrepareForumGroupListModelAsync(ForumGroupSearchModel searchModel);

    /// 
    /// Prepare forum group model
    /// 
    /// Forum group model
    /// Forum group
    /// Whether to exclude populating of some properties of model
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the forum group model
    /// 
    Task PrepareForumGroupModelAsync(ForumGroupModel model, ForumGroup forumGroup, bool excludeProperties = false);

    /// 
    /// Prepare paged forum list model
    /// 
    /// Forum search model
    /// Forum group
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the forum list model
    /// 
    Task PrepareForumListModelAsync(ForumSearchModel searchModel, ForumGroup forumGroup);

    /// 
    /// Prepare forum model
    /// 
    /// Forum model
    /// Forum
    /// Whether to exclude populating of some properties of model
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the forum model
    /// 
    Task PrepareForumModelAsync(ForumModel model, Forum forum, bool excludeProperties = false);
}