public static Noun GetNounOrNull(this ILectureRepository _lectureRepository, Guid id) { var noun = _lectureRepository.GetNoun(id); IsExist(noun, id); return(noun); }