public void SaveData(Property item, PropertyImageCollection imageCol) { item.AddUpdate(); PropertyImage img = new PropertyImage(); img.PRL = item.PRL; img.DeleteByPRL(); img.Add(imageCol); }
public void DeleteData(string prl) { PropertyImage img = new PropertyImage(); img.PRL = prl; img.DeleteByPRL(); Property property = new Property(); property.DeleteByPRL(prl); }