Webiant Logo Webiant Logo
  1. No results found.

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

IStoreModelFactory.cs

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

namespace Nop.Web.Areas.Admin.Factories;

/// 
/// Represents the store model factory
/// 
public partial interface IStoreModelFactory
{
    /// 
    /// Prepare store search model
    /// 
    /// Store search model
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the store search model
    /// 
    Task PrepareStoreSearchModelAsync(StoreSearchModel searchModel);

    /// 
    /// Prepare paged store list model
    /// 
    /// Store search model
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the store list model
    /// 
    Task PrepareStoreListModelAsync(StoreSearchModel searchModel);

    /// 
    /// Prepare store model
    /// 
    /// Store model
    /// Store
    /// Whether to exclude populating of some properties of model
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the store model
    /// 
    Task PrepareStoreModelAsync(StoreModel model, Store store, bool excludeProperties = false);
}