예제 #1
0
        public async Task <List <DisciplineVO> > FindByCourseIdTaskAsync(Guid courseId)
        {
            if (!(await _disciplineRepository.FindDisciplinesByCourseIdTaskAsync(courseId) is List <DisciplineModel> disciplines))
            {
                return(null);
            }

            return(_disciplineConverter.ParseList(disciplines));
        }