using Nop.Core.Domain.Vendors; using Nop.Web.Areas.Admin.Models.Vendors; namespace Nop.Web.Areas.Admin.Factories; /// /// Represents the vendor attribute model factory /// public partial interface IVendorAttributeModelFactory { /// /// Prepare vendor attribute search model /// /// Vendor attribute search model /// /// A task that represents the asynchronous operation /// The task result contains the vendor attribute search model /// Task PrepareVendorAttributeSearchModelAsync(VendorAttributeSearchModel searchModel); /// /// Prepare paged vendor attribute list model /// /// Vendor attribute search model /// /// A task that represents the asynchronous operation /// The task result contains the vendor attribute list model /// Task PrepareVendorAttributeListModelAsync(VendorAttributeSearchModel searchModel); /// /// Prepare vendor attribute model /// /// Vendor attribute model /// Vendor attribute /// Whether to exclude populating of some properties of model /// /// A task that represents the asynchronous operation /// The task result contains the vendor attribute model /// Task PrepareVendorAttributeModelAsync(VendorAttributeModel model, VendorAttribute vendorAttribute, bool excludeProperties = false); /// /// Prepare paged vendor attribute value list model /// /// Vendor attribute value search model /// Vendor attribute /// /// A task that represents the asynchronous operation /// The task result contains the vendor attribute value list model /// Task PrepareVendorAttributeValueListModelAsync(VendorAttributeValueSearchModel searchModel, VendorAttribute vendorAttribute); /// /// Prepare vendor attribute value model /// /// Vendor attribute value model /// Vendor attribute /// Vendor attribute value /// Whether to exclude populating of some properties of model /// /// A task that represents the asynchronous operation /// The task result contains the vendor attribute value model /// Task PrepareVendorAttributeValueModelAsync(VendorAttributeValueModel model, VendorAttribute vendorAttribute, VendorAttributeValue vendorAttributeValue, bool excludeProperties = false); }