예제 #1
0
 public void OnGet(int questionTypeId)
 {
     if (Question == null)
     {
         Question = new ExpertQuestion();
     }
     Type = typeData.GetById(questionTypeId);
 }
예제 #2
0
 public void OnGet(int questionTypeId)
 {
     questions    = questionData.GetAllByName(searchTerm, questionTypeId);
     type         = typeData.GetById(questionTypeId);
     userProfiles = accountData.GetAll();
 }