Пример #1
0
 public PartialViewResult InsertKey(int key)
 {
     //if (_redisClient.GetDatabase("local").StringIncrement(key.ToString()) <= 1) //防止重复添加
     {
         bTree.BTreeInsert(key);
         SetTreeData(bTree);
     }
     return(PartialView("Index"));
 }