Exemple #1
0
        public async Task <IEnumerable <Course> > LecturerCourses(int id)
        {
            var lecturer = await _lecturerServices.GetOne(id);

            var courses = await _courseServices.CourseByLectuerer(lecturer.Id);

            return(courses);
        }