public TreeTests() { server = "mongodb://localhost"; databaseName = "Builders_Andre_Test"; collectionName = "Nodes"; nodeRepository = new NodeRepository(server, databaseName, collectionName); binaryTree = new BinaryTreeService(nodeRepository); }
/// <summary> /// </summary> /// <param name="treeService"></param> /// <param name="nodeRepository"></param> public TreeController(IBinaryTreeService treeService) { _treeService = treeService; }