// [OutputCache(Duration =10)] public ActionResult DisplayPropertyDetails() { IEnumerable <Property> property = propertyBL.DisplayPropertyDetails(); TempData["Property"] = property; ViewBag.Message = DateTime.Now.ToString(); return(View()); }
// [OutputCache(Duration =10)] public ActionResult DisplayPropertyDetails() { IEnumerable <Property> property = propertyBL.DisplayPropertyDetails(); IEnumerable <PropertyValues> propertyValues = propertyBL.DisplayPropertyValueDetails(); IEnumerable <PropertyFeature> propertyFeatures = propertyBL.DisplayPropertyFeatureDetails(); TempData["Property"] = property; TempData["PropertyFeature"] = propertyFeatures; TempData["PropertyValue"] = propertyValues; //ViewBag.Message = DateTime.Now.ToString(); return(View()); }