Exemple #1
0
        public static bool AddAddressBL(Address newAddress)
        {
            bool AddressAdded = false;

            try
            {
                if (ValidateAddress(newAddress))
                {
                    AddressDAL AddressDAL = new AddressDAL();
                    AddressAdded = AddressDAL.AddAddressDAL(newAddress);
                }
            }
            catch (AddressException)
            {
                throw;
            }
            catch (Exception ex)
            {
                throw ex;
            }

            return(AddressAdded);
        }