public int Update(Address address) { AddressData data = new AddressData(); try { data.Update(address); } catch (Exception ex) { log.Write(ex.Message, "Update Address"); throw (ex); } finally { data = null; } return(address.AddressID); }