public static int GetPropertyInventorytype(long PropertyId) { DataLayer.Property bok = new DataLayer.Property(); return(bok.GetPropertyInventorytype(PropertyId)); }