public QuestionsBase GetQuestionsBase(TypeProfOrent typeProfOrent) { return(GetProfOrent(typeProfOrent).QuestionsBase.Single(x => x.Id == 1)); }
private ProfOrent GetProfOrent(TypeProfOrent typeProfOrent) { return(profOrents.Single(x => x.IdProfOrent == (int)typeProfOrent)); }