Beispiel #1
0
        public ActionResult RemoveAll()
        {
            var cache = new WebCache();

            cache.Evict <BicicletasStatusModel>(BicicletaController.CacheKey);
            cache.Evict <TrenesStatusModel>(TrenController.CacheKey);
            cache.Evict <SubteStatusModel>(SubteController.CacheKey);
            cache.Evict <DivisaModel>(CotizacionController.CacheKey);
            cache.Evict <DivisaModel>(CotizacionController.CacheKeyRofex);
            cache.Evict <DivisaModel>(CotizacionController.CacheKeyTasas);


            return(new HttpStatusCodeResult(200));
        }