public static Address_Entities SearchAddressBL(int searchAddressID) { Address_Entities searchAddress = null; try { Address_DAL addressDAL = new Address_DAL(); searchAddress = addressDAL.SearchAddressDAL(searchAddressID); } catch (GOException ex) { throw new GOException(ex.Message); } return(searchAddress); }
public static Address_Entities SearchAddressBL(int searchAddressID) { Address_Entities searchAddress = null; try { Address_DAL addressDAL = new Address_DAL(); searchAddress = addressDAL.SearchAddressDAL(searchAddressID); } catch (GreatOutdoorsException ex) { throw ex; } catch (Exception ex) { throw ex; } return(searchAddress); }