Exemple #1
0
        private TAccount CreateSubAccountDetail(string friendlyName)
        {
            Account account = TwilioClient.CreateSubAccount(friendlyName);

            if (account.RestException != null)
            {
                throw new Exception(account.RestException.Message);
            }
            return(Mapper.Map <TAccount>(account));
        }