Esempio n. 1
0
 public QuestionBusiness(QuestionRepository questionRepo,
     ChoiceBusiness choiceBus,
     SysUserBusiness sysUserBus,
     SubjectBusiness subjectBus)
 {
     _questionRepo = questionRepo;
     _choiceBus = choiceBus;
     _sysUserBus = sysUserBus;
     _subjectBus = subjectBus;
 }
Esempio n. 2
0
 public TestController(
     TestBusiness testBus,
     SubjectBusiness subjectBus, 
     QuestionBusiness questionBus,
     SysUserBusiness sysUserBus)
 {
     _subjectBus = subjectBus;
     _questionBus = questionBus;
     _sysUserBus = sysUserBus;
     _testBus = testBus;
 }
Esempio n. 3
0
 public TestBusiness(
     TestRepository testRepo,
     QuestionBusiness questionBus,
     SubjectBusiness subjectBus,
     DetailBusiness detailBus,
     DetailChoiceBusiness detailChoiceBus)
 {
     _testRepo = testRepo;
     _questionBus = questionBus;
     _subjectBus = subjectBus;
     _detailBus = detailBus;
     _detailChoiceBus = detailChoiceBus;
     _rand = new Random((int)DateTime.Now.Ticks);
 }