C# Класс AdventureWorks.WebServices.Controllers.ProductController

Наследование: ApiController
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

GetProduct() публичный Метод

public GetProduct ( string id ) : AdventureWorks.WebServices.Models.Product
id string
Результат AdventureWorks.WebServices.Models.Product

GetProducts() публичный Метод

public GetProducts ( ) : IEnumerable
Результат IEnumerable

GetProducts() публичный Метод

public GetProducts ( int categoryId ) : IEnumerable
categoryId int
Результат IEnumerable

GetSearchResults() публичный Метод

public GetSearchResults ( string queryString, int maxResults ) : SearchResult
queryString string
maxResults int
Результат AdventureWorks.WebServices.Models.SearchResult

ProductController() публичный Метод

public ProductController ( ) : AdventureWorks.WebServices.Models
Результат AdventureWorks.WebServices.Models

ProductController() публичный Метод

public ProductController ( IProductRepository productRepository ) : AdventureWorks.WebServices.Models
productRepository IProductRepository
Результат AdventureWorks.WebServices.Models