コード例 #1
0
ファイル: TestController.cs プロジェクト: Dumuzi/TestingApp
 //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
ファイル: TestController.cs プロジェクト: Dumuzi/TestingApp
 public TestController()
 {
     _testService = new SwifTestService();
     //_testRepository = new TestRepository(new SwifTestContext());
     //_questionCategoryRepository = new QuestionCategoryRepository(new SwifTestContext());
 }
コード例 #4
0
 public QuestionController()
 {
     _testService = new SwifTestService();
 }