Example #1
0
 public void SetUp()
 {
     _context                    = new SettingsContext(_options);
     _databaseManager            = new DatabaseManager();
     _extractRepository          = new ExtractRepository(_context);
     _databaseProtocolRepository = new DatabaseProtocolRepository(_context);
     _extractManagerService      = new ExtractManagerService(_extractRepository, _databaseManager);
     _extractManagerController   = new ExtractManagerController(_extractManagerService);
 }
 public ExtractManagerController(IExtractManagerService extractManagerService)
 {
     _extractManagerService = extractManagerService;
 }