Method Get
Get(int)
Returns the storage conditions corresponding to the given code if one is found or StorageConditionNotFoundContract is thrown otherwise
public StorageConditionContract Get(int code)
Parameters
code
intThe code associated with the target storage condition
Returns
- StorageConditionContract
The storage condition corresponding to the given code
Exceptions
- StorageConditionNotFoundContract
This exception would be thrown if the given code is not found in the database