Method GetCategoryOrDie
GetCategoryOrDie(string, string)
Utility methods getting a CategoryAsset by its
id
.
Declaration
protected CategoryAsset GetCategoryOrDie(string id, string paramName)
Parameters
Type | Name | Description |
---|---|---|
string | id | The identifier of the Category to find. |
string | paramName | The name of the |
Returns
Type | Description |
---|---|
CategoryAsset | Returns the CategoryAsset instance |