Example #1
0
        public static bool DeleteToken(string token)
        {
            IDataProvider data = new MongoDataProvider();

            try
            {
                return(data.Delete <Session>("Id", token));
            }
            catch (Exception)
            {
                return(false);
            }
        }