コード例 #1
0
        // [HttpPost]
        public ActionResult AddPropertyValue(PropertyFeatureModel propertyFeature, int[] Value, int[] PropertyFeatureId)
        {
            PropertyValues propertyValues = new PropertyValues();

            propertyValues = AutoMapper.Mapper.Map <PropertyFeatureModel, PropertyValues>(propertyFeature);
            propertyBL.AddPropertyValue(propertyValues, Value, PropertyFeatureId);
            return(RedirectToAction("DisplayPropertyDetails", "Property"));
        }