public bool hasBeenDeletedMongo(Dictionary <string, object> datos, string condition, string method)
        {
            string server   = datos["server"].ToString();
            string database = "multidb_datos";
            string uid      = datos["user"].ToString();
            string pass     = datos["pass"].ToString();
            string port     = datos["port"].ToString();

            MongoConnect db = new MongoConnect(server, database, uid, pass, port);

            try
            {
                List <Dictionary <string, object> > select = db.SelectListDictionary(datos["column_type"].ToString(), datos["ID_data"].ToString(), condition, method);
                Debug.WriteLine("select.Count = " + select.Count.ToString());
                bool exist = false;
                if (select.Count > 0)
                {
                    exist = true;
                }

                /*if (exist)
                 * {
                 *  Debug.WriteLine(datos["column_type"].ToString()+" "+datos["ID_data"].ToString());
                 *  db.Delete(datos["column_type"].ToString(), datos["ID_data"].ToString());
                 * }*/

                return(exist);
            }

            catch
            {
                return(false);
            }
        }
        public List <Dictionary <string, object> > executeQueryMongo(Dictionary <string, object> datos, string condition, string conditional_method)
        {
            string server   = datos["server"].ToString();
            string database = "multidb_datos";
            string uid      = datos["user"].ToString();
            string pass     = datos["pass"].ToString();
            string port     = datos["port"].ToString();

            MongoConnect db = new MongoConnect(server, database, uid, pass, port);

            return(db.SelectListDictionary(datos["column_type"].ToString(), datos["ID_data"].ToString(), condition, conditional_method));
        }