Exemplo n.º 1
0
        // [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());
        }