public SettingsController(IConfiguration configuration, IStorage storage, IGameManagerService gameManagerService) { _configuration = configuration; _gameManagerNodeRepository = storage.GetRepository <IGameManagerNodeRepository>(); _storage = storage; _gameManagerService = gameManagerService; }
public GamesController(IStorage storage, IGameManagerService gameManagerService, IConfiguration configuration) { _gameManagerNodeRepository = storage.GetRepository <IGameManagerNodeRepository>(); _gameManagerFileRepository = storage.GetRepository <IGameManagerFileRepository>(); _storage = storage; _gameManagerService = gameManagerService; _configuration = configuration; }