private TAddress GetAddressDetail(string addressSid) { Address detail = TwilioClient.GetAddress(addressSid); if (detail.RestException != null) { throw new Exception(detail.RestException.Message); } return(Mapper.Map <TAddress>(detail)); }