コード例 #1
0
        // [OutputCache(Duration =10)]
        public ActionResult DisplayPropertyDetails()
        {
            IEnumerable <Property> property = propertyBL.DisplayPropertyDetails();

            TempData["Property"] = property;
            ViewBag.Message      = DateTime.Now.ToString();
            return(View());
        }
コード例 #2
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());
        }