Closed EdGustafsson closed 2 years ago
Changed so the membership methods return membership Dtos instead of course. Added a check for existing user in CourseService methods, and also added proper exceptions.
Changed tests to match the new updates.
closes #51, fixes #54
Maybe you should try implement Guard clauses like we discussed in todays meeting?
Yep, i'll look into it
Changed so the membership methods return membership Dtos instead of course. Added a check for existing user in CourseService methods, and also added proper exceptions.
Changed tests to match the new updates.
closes #51, fixes #54