Try your search with a different keyword or use * as a wildcard.
using Nop.Core.Domain.News;
using Nop.Web.Models.News;
namespace Nop.Web.Factories;
///
/// Represents the interface of the news model factory
///
public partial interface INewsModelFactory
{
///
/// Prepare the news item model
///
/// News item model
/// News item
/// Whether to prepare news comment models
///
/// A task that represents the asynchronous operation
/// The task result contains the news item model
///
Task PrepareNewsItemModelAsync(NewsItemModel model, NewsItem newsItem, bool prepareComments);
///
/// Prepare the home page news items model
///
///
/// A task that represents the asynchronous operation
/// The task result contains the home page news items model
///
Task PrepareHomepageNewsItemsModelAsync();
///
/// Prepare the news item list model
///
/// News paging filtering model
///
/// A task that represents the asynchronous operation
/// The task result contains the news item list model
///
Task PrepareNewsItemListModelAsync(NewsPagingFilteringModel command);
///
/// Prepare the news comment model
///
/// News comment
///
/// A task that represents the asynchronous operation
/// The task result contains the news comment model
///
Task PrepareNewsCommentModelAsync(NewsComment newsComment);
}