コード例 #1
0
        public List <TestViewModel> GetCacheGzip([FromUri] int records)
        {
            Stopwatch sw = new Stopwatch();

            sw.Start();
            Debug.WriteLine("Begin: GetSecond()");

            var data = StaticHelper.GetDataWithMemCaching(records, "testModels2");

            Debug.WriteLine("{0}{1}", "End: GetSecond()", sw.ElapsedMilliseconds);
            sw.Stop();

            return(data);
        }