ve-backend-internship-spring2022 / EduManagementLab

MIT License
0 stars 4 forks source link

Changed return object and updated tests #58

Closed EdGustafsson closed 2 years ago

EdGustafsson commented 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

martinvehmas commented 2 years ago

Maybe you should try implement Guard clauses like we discussed in todays meeting?

EdGustafsson commented 2 years ago

Yep, i'll look into it