示例#1
0
        public ActionResult Detail(int? id)
        {
            PropertyViewOperation operation = new PropertyViewOperation();

            var model = operation.GetProperty(id);


            return View(model);
        }
示例#2
0
 public ActionResult RecommendedProperty(PropertyTypeClassifier propertyType, int propertyId)
 {
     PropertyViewOperation operation = new PropertyViewOperation();
     var model = operation.GetProperty(propertyType, propertyId);
     return PartialView("~/Views/Shared/_RecommendedProperties.cshtml", model);
 }