public AdminController(GameStateService gameStateService, OverridableSettings appSettings, TilgangsKontroll tilgangsKontroll, PosisjonsService posisjonsService, ExcelImport excelImport, KmlToExcelPoster kmlToExcelPoster, ExcelWriter excelWriter, ExcelExport excelExport, DataContextFactory dataContextFactory, CurrentMatchProvider matchProvider) { _gameStateService = gameStateService; _appSettings = appSettings; _tilgangsKontroll = tilgangsKontroll; _posisjonsService = posisjonsService; _excelImport = excelImport; _kmlToExcelPoster = kmlToExcelPoster; _excelWriter = excelWriter; _excelExport = excelExport; _dataContextFactory = dataContextFactory; _matchProvider = matchProvider; }
public void SetupComponents() { _excelImport = _container.Resolve<Repository.Import.ExcelImport>(); _excelExport = _container.Resolve<Repository.Import.ExcelExport>(); }