// GET: Property public ActionResult Index(Boolean?redirect) { if (redirect == null) { Config(); } else if ((bool)redirect) { setError(selectedPriceRange, selectedPropertyType, selectedRoomType, selectedDistrict); Config(selectedPriceRange, selectedPropertyType, selectedRoomType, selectedDistrict); } propertyController.clearListProperty(); return(View()); }
// GET: Property public ActionResult Index(Boolean?redirect) { if (redirect == null) { Config(); } else if ((bool)redirect) { setError(selectedPriceRange, selectedPropertyType, selectedRoomType, selectedDistrict); Config(selectedPriceRange, selectedPropertyType, selectedRoomType, selectedDistrict); } propertyController.clearListProperty(); if (premisesList == null) { premisesList = premisesGateway.GetAllPremises().ToList(); } return(View()); }