Exemplo n.º 1
0
        public DataTable InsertReceiveSms(Common.ReceiveMessage receiveSms)
        {
            //var encoding = System.Text.Encoding.GetEncoding("UTF-8");
            //receiveSms.SmsText = encoding.GetString(Convert.FromBase64String(receiveSms.SmsText));

            return(FetchSPDataTable("InsertReceiveSms",
                                    "@SmsText", receiveSms.SmsText,
                                    "@Sender", receiveSms.Sender,
                                    "@ReceiveDateTime", receiveSms.ReceiveDateTime,
                                    "@Receiver", receiveSms.Receiver,
                                    "@Udh", receiveSms.UDH,
                                    "@InboxGroupGuid", Guid.Empty));
        }
Exemplo n.º 2
0
 public static DataTable InsertReceiveMessage(Common.ReceiveMessage receiveMessage)
 {
     Business.Inbox inboxController = new Business.Inbox();
     return(inboxController.InsertReceiveSms(receiveMessage));
 }