//public TestController(ITestRepository testRepository, IQuestionCategoryRepository questionCategoryRepository) public TestController(ISwifTestService testService) { // _testRepository = testRepository; // _questionCategoryRepository = questionCategoryRepository; _testService = testService; }
public QuestionController(ISwifTestService testService) { _testService = testService; }
public TestController() { _testService = new SwifTestService(); //_testRepository = new TestRepository(new SwifTestContext()); //_questionCategoryRepository = new QuestionCategoryRepository(new SwifTestContext()); }
public QuestionController() { _testService = new SwifTestService(); }