Exemplo n.º 1
0
        public static List <Address_Entities> GetAllAddressBL()
        {
            List <Address_Entities> addressList = null;

            try
            {
                Address_DAL addressDAL = new Address_DAL();
                addressList = addressDAL.GetAllAddressDAL();
            }
            catch (GOException ex)
            {
                throw new GOException(ex.Message);
            }
            return(addressList);
        }
Exemplo n.º 2
0
        public static List <Address_Entities> GetAllAddressBL()
        {
            List <Address_Entities> addressList = null;

            try
            {
                Address_DAL addressDAL = new Address_DAL();
                addressList = addressDAL.GetAllAddressDAL();
            }
            catch (GreatOutdoorsException ex)
            {
                throw ex;
            }
            catch (Exception ex)
            {
                throw ex;
            }
            return(addressList);
        }