public ActionResult Detail(int? id) { PropertyViewOperation operation = new PropertyViewOperation(); var model = operation.GetProperty(id); return View(model); }
public ActionResult RecommendedProperty(PropertyTypeClassifier propertyType, int propertyId) { PropertyViewOperation operation = new PropertyViewOperation(); var model = operation.GetProperty(propertyType, propertyId); return PartialView("~/Views/Shared/_RecommendedProperties.cshtml", model); }