using Nop.Core.Domain.Customers; using Nop.Web.Areas.Admin.Models.Customers; namespace Nop.Web.Areas.Admin.Factories; /// /// Represents the customer role model factory /// public partial interface ICustomerRoleModelFactory { /// /// Prepare customer role search model /// /// Customer role search model /// /// A task that represents the asynchronous operation /// The task result contains the customer role search model /// Task PrepareCustomerRoleSearchModelAsync(CustomerRoleSearchModel searchModel); /// /// Prepare paged customer role list model /// /// Customer role search model /// /// A task that represents the asynchronous operation /// The task result contains the customer role list model /// Task PrepareCustomerRoleListModelAsync(CustomerRoleSearchModel searchModel); /// /// Prepare customer role model /// /// Customer role model /// Customer role /// Whether to exclude populating of some properties of model /// /// A task that represents the asynchronous operation /// The task result contains the customer role model /// Task PrepareCustomerRoleModelAsync(CustomerRoleModel model, CustomerRole customerRole, bool excludeProperties = false); /// /// Prepare customer role product search model /// /// Customer role product search model /// /// A task that represents the asynchronous operation /// The task result contains the customer role product search model /// Task PrepareCustomerRoleProductSearchModelAsync(CustomerRoleProductSearchModel searchModel); /// /// Prepare paged customer role product list model /// /// Customer role product search model /// /// A task that represents the asynchronous operation /// The task result contains the customer role product list model /// Task PrepareCustomerRoleProductListModelAsync(CustomerRoleProductSearchModel searchModel); }