Ejemplo n.º 1
0
        public List<UserGrowthStats> GetUserGrowthStats(DateTime f, DateTime t)
        {
            //var cacheHelper = new CacheHelper(HttpContext.Current.Cache);
            //var data = cacheHelper.Get(CacheKey.ToString(CultureInfo.InvariantCulture)) as List<UserGrowthStats>;

            //if (data == null)
            //{

                var ss = new StatsService();
                var data = ss.FindUserGrowthStats(f, t);

                //cacheHelper.Add(CacheKey.ToString(CultureInfo.InvariantCulture), data, DateTime.Now.AddMinutes(CacheExpiry));
            //}

            return data;
        }