C# 클래스 AdventureWorks.WebServices.Controllers.ProductController

상속: ApiController
파일 보기 프로젝트 열기: PrismLibrary/Prism-Samples-Windows

공개 메소드들

메소드 설명
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