public async Task <List <DisciplineVO> > FindByCourseIdTaskAsync(Guid courseId) { if (!(await _disciplineRepository.FindDisciplinesByCourseIdTaskAsync(courseId) is List <DisciplineModel> disciplines)) { return(null); } return(_disciplineConverter.ParseList(disciplines)); }