Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

IProfileModelFactory.cs

using Nop.Core.Domain.Customers;
using Nop.Web.Models.Profile;

namespace Nop.Web.Factories;

/// 
/// Represents the interface of the profile model factory
/// 
public partial interface IProfileModelFactory
{
    /// 
    /// Prepare the profile index model
    /// 
    /// Customer
    /// Number of posts page; pass null to disable paging
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the profile index model
    /// 
    Task PrepareProfileIndexModelAsync(Customer customer, int? page);

    /// 
    /// Prepare the profile info model
    /// 
    /// Customer
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the profile info model
    /// 
    Task PrepareProfileInfoModelAsync(Customer customer);

    /// 
    /// Prepare the profile posts model
    /// 
    /// Customer
    /// Number of posts page
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the profile posts model  
    /// 
    Task PrepareProfilePostsModelAsync(Customer customer, int page);
}