Method | Description | |
---|---|---|
CategoryController ( ) : System.Collections.Generic | ||
CategoryController ( IRepository |
||
GetCategories ( int parentId, int maxAmountOfProducts ) : IEnumerable |
||
GetCategory ( int id ) : |
Method | Description | |
---|---|---|
FillProducts ( IEnumerable |
||
NewCategory ( |
public CategoryController ( ) : System.Collections.Generic | ||
return | System.Collections.Generic |
public CategoryController ( IRepository |
||
categoryRepository | IRepository |
|
productRepository | IProductRepository | |
return | System.Collections.Generic |
public GetCategories ( int parentId, int maxAmountOfProducts ) : IEnumerable |
||
parentId | int | |
maxAmountOfProducts | int | |
return | IEnumerable |
public GetCategory ( int id ) : |
||
id | int | |
return |