Group endpoint: getGroupsForPersonAndModule
The method getGroupsForPersonAndModule
in StudentGroupController
currently implemented in LC returns a List<StudentGroupSummaryDTO>
. However, a student should only have one group in a module; an exception should be thrown whenever more groups are returned. (Ideally, the getGroupsForPersonAndModule
would only return one StudentGroupSummaryDTO
instead of a list.)