public ActionResult AddFeature(int propertyId, int propertyTypeId) { //Property property = TempData["TypeId"] as Property; List <PropertyFeature> propertyFeatures = propertyBL.GetFeature(propertyTypeId); //ArrayList featureId = new ArrayList(); PropertyFeatureModel model = new PropertyFeatureModel(); ViewBag.propertyFeature = propertyFeatures; model.PropertyId = propertyId; return(this.View(model)); }