Implement /units and /units/count services under LectureResource. First one should return list of units associated with this lecture (all of them, without paging and in proper order) and second one should return just number of them.
Lecture's units can be already fetched via /units/list and filtering by lecture, but these two endpoints should provide more "RESTful" experience.
Implement
/units
and/units/count
services underLectureResource
. First one should return list of units associated with this lecture (all of them, without paging and in proper order) and second one should return just number of them.Lecture's units can be already fetched via
/units/list
and filtering by lecture, but these two endpoints should provide more "RESTful" experience.