public static object Get(string key)
 {
     if (cache != null)
     {
         return(cache.GetData(key));
     }
     else
     {
         return(null);
     }
 }
        public static T Get <T>(string key) where T : class
        {
            if (!_cache.Contains(key))
            {
                return(null);
            }

            return(_cache.GetData(key) as T);
        }