public static bool CanDelete(long propertyid) { DataLayer.Property property = new DataLayer.Property(); return(property.CanDelete(propertyid)); }