Exemplo n.º 1
0
 public DetailBusiness(DetailRepository detailRepo, 
     QuestionBusiness questionBus, 
     ChoiceBusiness choiceBus)
 {
     _detailRepo = detailRepo;
     _questionBus = questionBus;
     _choiceBus = choiceBus;
 }
Exemplo n.º 2
0
 public TestController(
     TestBusiness testBus,
     SubjectBusiness subjectBus, 
     QuestionBusiness questionBus,
     SysUserBusiness sysUserBus)
 {
     _subjectBus = subjectBus;
     _questionBus = questionBus;
     _sysUserBus = sysUserBus;
     _testBus = testBus;
 }
Exemplo 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);
 }
Exemplo n.º 4
0
 public QuestionController(QuestionBusiness questionBus)
 {
     _questionBus = questionBus;
 }