Exemple #1
0
        //Update
        public ActionResult UpdateProperty(int propertyId)
        {
            _loadVendors();
            AdminVWModel adminVwModel = new AdminVWModel();

            adminVwModel.Property        = PropertyManager.GetPropertyById(propertyId);
            adminVwModel.PropertyAddress = AddressManager.GetAddressByPropertyId(propertyId);
            return(View("~/Views/Property/UpdateProperty.cshtml", adminVwModel));
        }