Open DylanPhuah opened 1 month ago
What: Make the unit add feature throw an exception if a student tries to add a unit that doesnt exist
How: If the user logged in is a student, add a check to the unit add feature that will check if an inputed unit code exists.
Who: See Assignees on this item
The Inputs: Existing unit add feature
The outputs: A unit add feature that will not let students join units that do not exist
What: Make the unit add feature throw an exception if a student tries to add a unit that doesnt exist
How: If the user logged in is a student, add a check to the unit add feature that will check if an inputed unit code exists.
Who: See Assignees on this item
The Inputs: Existing unit add feature
The outputs: A unit add feature that will not let students join units that do not exist