using Nop.Web.Areas.Admin.Models.Home; using Nop.Web.Framework.Models.DataTables; namespace Nop.Web.Areas.Admin.Factories; /// /// Represents the home models factory /// public partial interface IHomeModelFactory { /// /// Prepare dashboard model /// /// Dashboard model /// /// A task that represents the asynchronous operation /// The task result contains the dashboard model /// Task PrepareDashboardModelAsync(DashboardModel model); /// /// Prepare popular search term report model /// /// DataTables model /// /// A task that represents the asynchronous operation /// The task result contains the dashboard model /// Task PreparePopularSearchTermReportModelAsync(DataTablesModel model); /// /// Prepare bestsellers brief by amount report model /// /// DataTables model /// /// A task that represents the asynchronous operation /// The task result contains the dashboard model /// Task PrepareBestsellersBriefReportByAmountModelAsync(DataTablesModel model); /// /// Prepare bestsellers brief by quantity report model /// /// DataTables model /// /// A task that represents the asynchronous operation /// The task result contains the dashboard model /// Task PrepareBestsellersBriefReportByQuantityModelAsync(DataTablesModel model); /// /// Prepare latest orders model /// /// DataTables model /// /// A task that represents the asynchronous operation /// The task result contains the dashboard model /// Task PrepareLatestOrdersModelAsync(DataTablesModel model); /// /// Prepare nopCommerce news model /// /// /// A task that represents the asynchronous operation /// The task result contains the nopCommerce news model /// Task PrepareNopCommerceNewsModelAsync(); /// /// Prepare incomplete orders report model /// /// DataTables model /// /// A task that represents the asynchronous operation /// The task result contains the dashboard model /// Task PrepareOrderIncompleteModelAsync(DataTablesModel model); /// /// Prepare order average report model /// /// DataTables model /// /// A task that represents the asynchronous operation /// The task result contains the dashboard model /// Task PrepareOrderAverageModelAsync(DataTablesModel model); }