Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 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;
 }
Esempio n. 3
0
 public TestController(ITestService testService, ITestQuestionsService testQuestionsService)
 {
     this.testService = testService;
     // this.testQuestionsService = testQuestionsService;
     resourceManager = new ResourceManager("TopTests.API.Resources.ResourceFile", typeof(ResourceFile).Assembly);
 }