using Nop.Core.Domain.Logging; using Nop.Web.Areas.Admin.Models.Logging; namespace Nop.Web.Areas.Admin.Factories; /// /// Represents the log model factory /// public partial interface ILogModelFactory { /// /// Prepare log search model /// /// Log search model /// /// A task that represents the asynchronous operation /// The task result contains the log search model /// Task PrepareLogSearchModelAsync(LogSearchModel searchModel); /// /// Prepare paged log list model /// /// Log search model /// /// A task that represents the asynchronous operation /// The task result contains the log list model /// Task PrepareLogListModelAsync(LogSearchModel searchModel); /// /// Prepare log model /// /// Log model /// Log /// Whether to exclude populating of some properties of model /// /// A task that represents the asynchronous operation /// The task result contains the log model /// Task PrepareLogModelAsync(LogModel model, Log log, bool excludeProperties = false); }