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