Ejemplo n.º 1
0
 private void btnSendSms_Click(object sender, RoutedEventArgs e)
 {
     TheMachineController.SendAMessage(new SendMessagesEntity()
     {
         SendToNumber = txtNumber.Text,
         Content      = txtContent.Text
     });
 }
 public bool SendAMessage(SendMessageDataModel aMessage)
 {
     try
     {
         return(theController.SendAMessage(aMessage));
     }
     catch (ApplicationException ae)
     {
         throw new FaultException(ae.Message);
     }
 }