示例#1
0
 //public TestController(ITestRepository testRepository, IQuestionCategoryRepository questionCategoryRepository)
 public TestController(ISwifTestService testService)
 {
     // _testRepository = testRepository;
        // _questionCategoryRepository = questionCategoryRepository;
     _testService = testService;
 }
示例#2
0
 public QuestionController(ISwifTestService testService)
 {
     _testService = testService;
 }
示例#3
0
 public TestController()
 {
     _testService = new SwifTestService();
     //_testRepository = new TestRepository(new SwifTestContext());
     //_questionCategoryRepository = new QuestionCategoryRepository(new SwifTestContext());
 }
示例#4
0
 public QuestionController()
 {
     _testService = new SwifTestService();
 }