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); } }
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); } }