C# Class AdventureWorks.WebServices.Controllers.ProductController

Inheritance: ApiController
Afficher le fichier Open project: PrismLibrary/Prism-Samples-Windows

Méthodes publiques

Méthode Description
GetProduct ( string id ) : AdventureWorks.WebServices.Models.Product
GetProducts ( ) : IEnumerable
GetProducts ( int categoryId ) : IEnumerable
GetSearchResults ( string queryString, int maxResults ) : SearchResult
ProductController ( ) : AdventureWorks.WebServices.Models
ProductController ( IProductRepository productRepository ) : AdventureWorks.WebServices.Models

Method Details

GetProduct() public méthode

public GetProduct ( string id ) : AdventureWorks.WebServices.Models.Product
id string
Résultat AdventureWorks.WebServices.Models.Product

GetProducts() public méthode

public GetProducts ( ) : IEnumerable
Résultat IEnumerable

GetProducts() public méthode

public GetProducts ( int categoryId ) : IEnumerable
categoryId int
Résultat IEnumerable

GetSearchResults() public méthode

public GetSearchResults ( string queryString, int maxResults ) : SearchResult
queryString string
maxResults int
Résultat AdventureWorks.WebServices.Models.SearchResult

ProductController() public méthode

public ProductController ( ) : AdventureWorks.WebServices.Models
Résultat AdventureWorks.WebServices.Models

ProductController() public méthode

public ProductController ( IProductRepository productRepository ) : AdventureWorks.WebServices.Models
productRepository IProductRepository
Résultat AdventureWorks.WebServices.Models