I am new to ASP.NET MVC framework, I would like to achieve the below requirement. Kindly let me know if it is possible.
I have a Master Data in the application and I get the MasterData on one controller action.
[HttpPost]
[OutputCache(Duration=60*60, VaryByParam="", CacheProfile="Books")]
public ActionResult GetBooks()
{
}
I would like to use the Master Data Cached as part of the previous action method.
[HttpPost]
public ActionResult EditBooks()
{
return View("_EditBook");
}
How can I access the Cached Data in asp.Net mvc?