C# Class Tenant.Mvc.Core.Repositories.Recommendations.ProductsRepository

Inheritance: IProductsRepository
Afficher le fichier Open project: Microsoft/WingTipTickets

Méthodes publiques

Méthode Description
GetProduct ( System.Int64 id ) : Product
GetProducts ( ) : IEnumerable
GetRecommendedProducts ( System.Int64 customerId ) : IEnumerable
GetRelatedProducts ( System.Int64 productId ) : IEnumerable
GetSongPlayCount ( System.Int64 productId, System.Int64 customerId ) : int

Method Details

GetProduct() public méthode

public GetProduct ( System.Int64 id ) : Product
id System.Int64
Résultat Tenant.Mvc.Core.Models.Product

GetProducts() public méthode

public GetProducts ( ) : IEnumerable
Résultat IEnumerable

GetRecommendedProducts() public méthode

public GetRecommendedProducts ( System.Int64 customerId ) : IEnumerable
customerId System.Int64
Résultat IEnumerable

GetRelatedProducts() public méthode

public GetRelatedProducts ( System.Int64 productId ) : IEnumerable
productId System.Int64
Résultat IEnumerable

GetSongPlayCount() public méthode

public GetSongPlayCount ( System.Int64 productId, System.Int64 customerId ) : int
productId System.Int64
customerId System.Int64
Résultat int