public TestService(IAnswersRepository answersRepository, ITestQuestionRepository testQuestionRepository, ITestRepository testRepository, ISubjectRepository subjectRepository, ITestQuestionsService testQuestionsService) { this.answersRepository = answersRepository; this.testQuestionRepository = testQuestionRepository; this.testRepository = testRepository; this.subjectRepository = subjectRepository; this.testQuestionsService = testQuestionsService; }
public SubjectService(ISubjectRepository subjectRepository, IMapper mapper, ITestQuestionRepository testQuestionRepository, IAnswersRepository answersRepository, ITestQuestionsService testQuestionsService) { this.subjectRepository = subjectRepository; this.mapper = mapper; this.testQuestionRepository = testQuestionRepository; this.answersRepository = answersRepository; this.testQuestionsService = testQuestionsService; }
public TestController(ITestService testService, ITestQuestionsService testQuestionsService) { this.testService = testService; // this.testQuestionsService = testQuestionsService; resourceManager = new ResourceManager("TopTests.API.Resources.ResourceFile", typeof(ResourceFile).Assembly); }