示例#1
0
 public string SendSingleSMS(DTO.LABURNUM.COM.SMSAPIModel model)
 {
     if (new FrontEndApi.ApiClientApi().IsClientValid(model.ApiClientModel.UserName, model.ApiClientModel.Password))
     {
         return(new Component.MessageApiHelper().SendSingleSMS(model.MobileNumber, model.Message));
     }
     else
     {
         return(null);
     }
 }
示例#2
0
 public string SearchSMSBalance(DTO.LABURNUM.COM.SMSAPIModel model)
 {
     if (new FrontEndApi.ApiClientApi().IsClientValid(model.ApiClientModel.UserName, model.ApiClientModel.Password))
     {
         return(new Component.MessageApiHelper().GetSMSBalance());
     }
     else
     {
         return(null);
     }
 }