GetProducts Method (categoryId, sortExpression)

Design Pattern Framework 3.5

Design Pattern Framework 3.5 GetProducts Method (categoryId, sortExpression)
Patterns-In-Action! ApplicationASPNETWebApplication.ControllersProductControllerGetProducts(Int32, String)
Gets a list of products.
Declaration Syntax
C# Visual Basic
public IList<Product> GetProducts(
	int categoryId,
	string sortExpression
)
Public Function GetProducts ( _
	categoryId As Integer, _
	sortExpression As String _
) As IList(Of Product)
Parameters
categoryId (Int32)
The category for which products are requested.
sortExpression (String)
Sort order in which products are returned.
Return Value
List of products.

Assembly: ASPNETWebApplication (Module: ASPNETWebApplication) Version: 1.0.0.0 (1.0.0.0)