private TAddress CreateAddressDetail(TAddressRequest address) { Address addressModel = TwilioClient.AddAddress(address.FriendlyName, address.CustomerName, address.Street, address.City, address.Region, address.PostalCode, address.IsoCountry); if (addressModel.RestException != null) { throw new Exception(addressModel.RestException.Message); } return(Mapper.Map <TAddress>(addressModel)); }