public bool TekSmsGonder(SmsModel model) { Oztek.TekSmsiBirdenCokNumarayaGonderResponse result = _service.TekSmsiBirdenCokNumarayaGonder(new Oztek.TekSmsiBirdenCokNumarayaGonderRequest() { kullanicino = _auth.kullanicino, kullaniciadi = _auth.kullaniciadi, sifre = _auth.kullanicisifre, orjinator = _auth.orjinator, numaralar = model.Phone, mesaj = model.Text, zaman = "", zamanasimi = "", tip = "Turkce" }); //string result = _service.TekSmsiBirdenCokNumarayaGonder(kullanicino: _auth.kullanicino, // kullaniciadi: _auth.kullaniciadi, // sifre: _auth.kullanicisifre, // orjinator: _auth.orjinator, // numaralar: model.Phone, // mesaj: model.Text, // zaman: "", // zamanasimi: "", // tip: "Turkce") as string; if ([email protected]("OK")) { return(true); } else { return(false); } }
public bool CreateAccountSendSms(SmsModel model) { if (model != null) { model.Phone = model.Phone.StartsWith("0") ? model.Phone.Remove(0, 1) : model.Phone; } //model.Text = "Test sms"; return(TekSmsGonder(model)); }
public bool TekSmsGonder(SmsModel model) { return(_manager.TekSmsGonder(model)); }
public bool CreateAccountSendSms(SmsModel model) { return(_manager.CreateAccountSendSms(model)); }