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 customer search model /// /// Vendor customer search model /// /// A task that represents the asynchronous operation /// The task result contains the vendor customer search model /// Task PrepareVendorCustomerSearchModelAsync(VendorCustomerSearchModel searchModel); /// /// Prepare paged vendor customer list model /// /// Vendor customer search model /// /// A task that represents the asynchronous operation /// The task result contains the vendor customer list model /// Task PrepareVendorCustomerListModelAsync(VendorCustomerSearchModel searchModel); /// /// 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); }