public int Add(int userId, LectureDto lectureDto)
        {
            if (CheckUserPermission(userId, lectureDto.SectionId))
            {
                return(_lectureRepository.Add(_mapper.Map <Lecture>(lectureDto)));
            }

            throw new NotEnoughRightsException();
        }