Webiant Logo Webiant Logo
  1. No results found.

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

IVendorModelFactory.cs

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

namespace Nop.Web.Areas.Admin.Factories;

/// 
/// Represents the vendor model factory
/// 
public partial interface IVendorModelFactory
{
    /// 
    /// Prepare vendor search model
    /// 
    /// Vendor search model
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the vendor search model
    /// 
    Task PrepareVendorSearchModelAsync(VendorSearchModel searchModel);

    /// 
    /// Prepare paged vendor list model
    /// 
    /// Vendor search model
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the vendor list model
    /// 
    Task PrepareVendorListModelAsync(VendorSearchModel searchModel);

    /// 
    /// Prepare vendor model
    /// 
    /// Vendor model
    /// Vendor
    /// Whether to exclude populating of some properties of model
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the vendor model
    /// 
    Task PrepareVendorModelAsync(VendorModel model, Vendor vendor, bool excludeProperties = false);

    /// 
    /// Prepare paged vendor note list model
    /// 
    /// Vendor note search model
    /// Vendor
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the vendor note list model
    /// 
    Task PrepareVendorNoteListModelAsync(VendorNoteSearchModel searchModel, Vendor vendor);
}