//[OutputCache(Duration = 120)] public ActionResult Prices() { var model = new PriceModel(); model.ProductFamilies = _dynabicBillingGateway.ProductFamilies.GetProductFamilies(Config.MySiteSubdomain); if (model.ProductFamilies.Count > 0) { model.PlanItems = LoadPriceData(model.ProductFamilies[0].Id); } return View(model); }
//[OutputCache(Duration = 120, VaryByParam = "productFamilyId")] public PartialViewResult PriceByFamily(int productFamilyId) { var model = new PriceModel(); model.PlanItems = LoadPriceData(productFamilyId); return PartialView("Partials/PricingPlan", model); }