public bool DeacivatePropertyPL() { Property deactivateProperty = new Property(); deactivateProperty.PropertyId = int.Parse(txtPropertyId.Text); bool propertyDeactivated = false; propertyDeactivated = propertyBLL.DeactivatePropertyBL(deactivateProperty); return(propertyDeactivated); }