private IGameObjectProcessingStrategy GetChampionStrategy() { var championsBsonRepo = this.repoFactory.GetRepository(ChampionsCollectionName); var championsObjectsRepo = this.repoFactory.GetRepository<Champion>(); var championsProcessingStrategy = new ChampionProcessingStrategy(championsBsonRepo, championsObjectsRepo); return championsProcessingStrategy; }
private IGameObjectProcessingStrategy GetChampionStrategy() { var championsBsonRepo = this.repoFactory.GetRepository(ChampionsCollectionName); var championsObjectsRepo = this.repoFactory.GetRepository <Champion>(); var championsProcessingStrategy = new ChampionProcessingStrategy(championsBsonRepo, championsObjectsRepo); return(championsProcessingStrategy); }