public async Task<SendSmsResult> SendSmsAsync(Sms sms)
        {
            using (var client = new NimbowApiClientHttpAsyncWrapper())
            {
                var request = sms.ToSendSmsRequest();
                var response = await client.SendSmsAsync(request);

                return SendSmsResult.FromSmsResponse(response);
            }
        }
Ejemplo n.º 2
0
        public SendSmsResult SendSms(Sms sms)
        {
            using (var client = new NimbowApiClientHttpSyncWrapper())
            {
                var request  = sms.ToSendSmsRequest();
                var response = client.SendSms(request);

                return(SendSmsResult.FromSmsResponse(response));
            }
        }
Ejemplo n.º 3
0
        public SendSmsResult SendSms(Sms sms)
        {
            using (var client = new NimbowApiClientHttpSyncWrapper())
            {
                var request = sms.ToSendSmsRequest();
                var response = client.SendSms(request);

                return SendSmsResult.FromSmsResponse(response);
            }
        }
Ejemplo n.º 4
0
        public async Task <SendSmsResult> SendSmsAsync(Sms sms)
        {
            using (var client = new NimbowApiClientHttpAsyncWrapper())
            {
                var request  = sms.ToSendSmsRequest();
                var response = await client.SendSmsAsync(request);

                return(SendSmsResult.FromSmsResponse(response));
            }
        }