Beispiel #1
0
        public async Task <DisciplineVO> FindByDisciplineIdTaskAsync(Guid disciplineId)
        {
            if (!(await _disciplineRepository.FindByDisciplineIdTaskAsync(disciplineId) is DisciplineModel discipline))
            {
                return(null);
            }

            return(_disciplineConverter.Parse(discipline));
        }