Webiant Logo Webiant Logo
  1. No results found.

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

IManufacturerModelFactory.cs

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

namespace Nop.Web.Areas.Admin.Factories;

/// 
/// Represents the manufacturer model factory
/// 
public partial interface IManufacturerModelFactory
{
    /// 
    /// Prepare manufacturer search model
    /// 
    /// Manufacturer search model
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the manufacturer search model
    /// 
    Task PrepareManufacturerSearchModelAsync(ManufacturerSearchModel searchModel);

    /// 
    /// Prepare paged manufacturer list model
    /// 
    /// Manufacturer search model
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the manufacturer list model
    /// 
    Task PrepareManufacturerListModelAsync(ManufacturerSearchModel searchModel);

    /// 
    /// Prepare manufacturer model
    /// 
    /// Manufacturer model
    /// Manufacturer
    /// Whether to exclude populating of some properties of model
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the manufacturer model
    /// 
    Task PrepareManufacturerModelAsync(ManufacturerModel model,
        Manufacturer manufacturer, bool excludeProperties = false);

    /// 
    /// Prepare paged manufacturer product list model
    /// 
    /// Manufacturer product search model
    /// Manufacturer
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the manufacturer product list model
    /// 
    Task PrepareManufacturerProductListModelAsync(ManufacturerProductSearchModel searchModel,
        Manufacturer manufacturer);

    /// 
    /// Prepare product search model to add to the manufacturer
    /// 
    /// Product search model to add to the manufacturer
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the product search model to add to the manufacturer
    /// 
    Task PrepareAddProductToManufacturerSearchModelAsync(AddProductToManufacturerSearchModel searchModel);

    /// 
    /// Prepare paged product list model to add to the manufacturer
    /// 
    /// Product search model to add to the manufacturer
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the product list model to add to the manufacturer
    /// 
    Task PrepareAddProductToManufacturerListModelAsync(AddProductToManufacturerSearchModel searchModel);
}