using Nop.Core.Domain.Directory; using Nop.Web.Areas.Admin.Models.Directory; namespace Nop.Web.Areas.Admin.Factories; /// /// Represents the currency model factory /// public partial interface ICurrencyModelFactory { /// /// Prepare currency search model /// /// Currency search model /// Whether to prepare exchange rate models /// /// A task that represents the asynchronous operation /// The task result contains the currency search model /// Task PrepareCurrencySearchModelAsync(CurrencySearchModel searchModel, bool prepareExchangeRates = false); /// /// Prepare paged currency list model /// /// Currency search model /// /// A task that represents the asynchronous operation /// The task result contains the currency list model /// Task PrepareCurrencyListModelAsync(CurrencySearchModel searchModel); /// /// Prepare currency model /// /// Currency model /// Currency /// Whether to exclude populating of some properties of model /// /// A task that represents the asynchronous operation /// The task result contains the currency model /// Task PrepareCurrencyModelAsync(CurrencyModel model, Currency currency, bool excludeProperties = false); }