public GameService(IMongoClient client) { _mongoClient = client; _wrapper = new Repositories.RepositoryWrapper(_mongoClient); _random = new Random(); }
public MapService(IMongoClient client) { _mongoClient = client; _wrapper = new Repositories.RepositoryWrapper(_mongoClient); defaultStars = _wrapper.GalaxyContainerRepository.GetOne <GalaxyContainer>(f => f.Name == "Default").Galaxy.Stars.ToList(); }