Method GetFlasksByCode
- Namespace
- Everest.Service.Containers
- Assembly
- Everest.Service.dll
GetFlasksByCode(string)
Returns the flask corresponding to the given code if one is found or BarcodeNotFoundContract is thrown otherwise
public VolumetricContainerInstanceContract[] GetFlasksByCode(string code)
Parameters
code
stringThe code used during the flask registration (ideally engraved on the flask itself)
Returns
- VolumetricContainerInstanceContract[]
The flask corresponding to the given code
Exceptions
- KeyNotFoundException
This exception would be thrown if the given code is not found in the database