Esempio n. 1
0
 public TestConductController(ITestConductRepository testConductRepository, ITestsRepository testRepository, IStringConstants stringConstants, ILogger <TestConductController> logger)
 {
     _testConductRepository = testConductRepository;
     _testRepository        = testRepository;
     _stringConstants       = stringConstants;
     _logger = logger;
 }
Esempio n. 2
0
 public TestConductRepositoryTest(Bootstrap bootstrap) : base(bootstrap)
 {
     _testConductRepository = _scope.ServiceProvider.GetService <ITestConductRepository>();
     _testRepository        = _scope.ServiceProvider.GetService <ITestsRepository>();
     _globalUtil            = _scope.ServiceProvider.GetService <Mock <IGlobalUtil> >();
     _stringConstants       = _scope.ServiceProvider.GetService <IStringConstants>();
     _categoryRepository    = _scope.ServiceProvider.GetService <ICategoryRepository>();
     _userManager           = _scope.ServiceProvider.GetService <UserManager <ApplicationUser> >();
     _questionRepository    = _scope.ServiceProvider.GetService <IQuestionRepository>();
     _httpService           = _scope.ServiceProvider.GetService <Mock <IHttpService> >();
 }
Esempio n. 3
0
 public ReportRepository(TrappistDbContext dbContext, ITestConductRepository testConductRepository)
 {
     _dbContext             = dbContext;
     _testConductRepository = testConductRepository;
 }
Esempio n. 4
0
 public HomeController(IBasicSetupRepository basicSetup, ITestConductRepository testConduct, IStringConstants stringConstants)
 {
     _basicSetup = basicSetup;
     _testConduct = testConduct;
     _stringConstants = stringConstants;
 }
Esempio n. 5
0
 public TrappistHub(ITestConductRepository testConductRepository, TrappistDbContext dbContext)
 {
     _dbContext             = dbContext;
     _testConductRepository = testConductRepository;
 }