Sequence Diagram for Use Case : Add New Recipe - smashita/CoffeeMaker-2019 GitHub Wiki

Sequence Diagram for Add New Recipe

Above is the Sequence Diagram for Use Case : Add New Recipe. Only one class are involved which is Recipe class. Firstly, the customer requests to add a new recipe in the CoffeeMaker-2019 System. The system prompt the user the amount of ingredients needed for the new recipe. The customer will enter the amount of ingredients requested by the system. The system will then create a new Recipe object based on the information provided by customer. The new recipe object is then stored in the database and the customer will be notified regarding this. Finally the user will be sent back to the main menu.