public void GetQuestionListTest() { QuestionUtils pu = new QuestionUtils() { ProjectId = Guid.Parse("3A4EF90C-A5AC-467F-AE4E-360EC2D3B6B0") }; //List<QuestionViewModels> query = pu.GetQuestionList(""); }
public SysConfigController() { if (questionUtils == null) { questionUtils = new QuestionUtils() { ProjectId = AppSettings.PID }; } if (assessUtils == null) { assessUtils = new AssessUtils() { ProjectId = AppSettings.PID }; } if (paperUtils == null) { paperUtils = new PaperUtils() { ProjectId = AppSettings.PID }; } if (configManager == null) { configManager = new SettingConfigManager() { ProjectId = AppSettings.PID }; } if (userUtils == null) { userUtils = new UserUtils() { ProjectId = AppSettings.PID }; } }