forked from nus-cs2103-AY2324S2/tp
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #192 from ondretann/branch-UpdateDG
Update DeveloperGuide.md
- Loading branch information
Showing
5 changed files
with
66 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
@startuml | ||
skin rose | ||
skinparam ActivityFontSize 15 | ||
skinparam ArrowFontSize 12 | ||
start | ||
repeat | ||
:User enters /delete command to delete an employee; | ||
:PayBack reads user input; | ||
repeat while () is ([Invalid ID or ID does not exist]) | ||
->[else]; | ||
:PayBack prompts user for confirmation; | ||
if (user input) is ("Y") then | ||
:PayBack deletes employee from employee list; | ||
:PayBack deletes transactions which has employeeId = ID; | ||
else ("N") | ||
:PayBack aborts deletion of employee; | ||
endif | ||
:PayBack displays updated employee list; | ||
stop | ||
@enduml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.