caching in mvc 4
output caching in mvc 4
[OutputCache(Duration = 1000, VaryByParam = "OutputCash")]
public ActionResult MyMatters()
{
MyMatterListClass matter = new MyMatterListClass();
var getMatter = from s in matter.GetMatterList()
select s;
return View(getMatter);
}
output caching in mvc 4
[OutputCache(Duration = 1000, VaryByParam = "OutputCash")]
public ActionResult MyMatters()
{
MyMatterListClass matter = new MyMatterListClass();
var getMatter = from s in matter.GetMatterList()
select s;
return View(getMatter);
}