Пример #1
0
 public void SetUp()
 {
     _context = new ApplicationDbContext(UnitTestsHelper.GetUnitTestDbOptions());
     _service = new TestBaseService(new UnitOfWork(_context));
 }
 public TestBaseController(ITestBaseService testBaseService, ITopicService topicService, ITestResultService testResultService)
 {
     _testBaseService   = testBaseService;
     _topicService      = topicService;
     _testResultService = testResultService;
 }