private void CheckContext() { if(_context==null)_context = new SurveyContext(); }
private Survey getSurveyFromContext(SurveyContext context) { var survey = new Survey(); survey.Persons = getPersons(context.Persons); survey.Questions = getQuestions(context.Questions); return survey; }