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); }
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); }