You have an enumeration named truckStatus that has the following statuses:
Empty
Loaded
Completed
You have the following code:
You need to add the following statuses to the enumeration: Quarantine, InTransit
What should you do?
Add a new case statement in the model of the existing code,
Add a post handler to the method that checks the enumeration and logic for your new enumeration values using the enumeration value.
Add a post handler to the method that checks the enumeration and logic for your new enumeration values using the integer value of the enumeration.
Add a post handler to the method that checks the enumeration and logic for your new enumeration values using a range comparison for your new values.
Submit