using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Caching.Memory;
using dotnetCHARTING.NET10.Services;

namespace dotnetCHARTING.NET10.Pages.Features
{
    public class ForecastTrafficModel : PageModel
    {
        public MemoryCache cache;
        public ForecastTrafficModel(MyMemoryCache memoryCache)
        {
            cache = memoryCache.Cache;
        }       
        //public MemoryCache Cache { 
        //    get { return _cache; } 
        //    set{ _cache = value ; }
        //    }
        //public IActionResult OnGet()
        //{
        //    return Page();
        //}
        public void OnGet()
        {
            
        }
    }
}