public async Task <DisciplineVO> AddTaskAsync(DisciplineVO discipline) { if (!(await _disciplineRepository.AddTaskAsync(_disciplineConverter.Parse(discipline)) is DisciplineModel addedDisci)) { return(null); } return(_disciplineConverter.Parse(addedDisci)); }