Try your search with a different keyword or use * as a wildcard.
using Nop.Core;
using Nop.Core.Domain.Security;
using Nop.Web.Framework.Models;
namespace Nop.Web.Framework.Factories;
///
/// Represents the factory of model which supports access control list (ACL)
///
public partial interface IAclSupportedModelFactory
{
///
/// Prepare selected and all available customer roles for the passed model
///
/// ACL supported model type
/// Model
/// A task that represents the asynchronous operation
Task PrepareModelCustomerRolesAsync(TModel model) where TModel : IAclSupportedModel;
///
/// Prepare selected and all available customer roles for the passed model by ACL mappings
///
/// ACL supported model type
/// ACL supported entity type
/// Model
/// Entity
/// Whether to ignore existing ACL mappings
/// A task that represents the asynchronous operation
Task PrepareModelCustomerRolesAsync(TModel model, TEntity entity, bool ignoreAclMappings)
where TModel : IAclSupportedModel where TEntity : BaseEntity, IAclSupported;
}