-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
attempt to create new Task objects with course tasks entered by instr…
…uctor user in course creation user case (unable to, Task is abstract), CourseEnrolmentDsGateway commented out + will be removed as don't think it is needed, adding course enrolment screen to Main (does not run, need to debug)
- Loading branch information
Showing
4 changed files
with
33 additions
and
12 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
21 changes: 12 additions & 9 deletions
21
src/main/java/course_enrolment_use_case/CourseEnrolmentDsGateway.java
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 |
---|---|---|
@@ -1,11 +1,14 @@ | ||
package course_enrolment_use_case; | ||
// don't think this is needed? | ||
|
||
// Use case layer | ||
|
||
public interface CourseEnrolmentDsGateway { | ||
// checks if student is in the course through the students argument of the Course | ||
// object (value) from the course id (key) | ||
boolean existsByStudent(String studentIdentifier); | ||
|
||
void saveStudent(CourseEnrolmentRequestModel requestModel); | ||
} | ||
//package course_enrolment_use_case; | ||
// | ||
//// Use case layer | ||
// | ||
//public interface CourseEnrolmentDsGateway { | ||
// // checks if student is in the course through the students argument of the Course | ||
// // object (value) from the course id (key) | ||
// boolean existsByStudent(String studentIdentifier); | ||
// | ||
// void saveStudent(CourseEnrolmentRequestModel requestModel); | ||
//} |
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