public static int SendSms_new(EmployeeMarketslidesendmail Mobj) { int intStatus = 0; if (!string.IsNullOrEmpty(Mobj.strbody)) { ServiceSoapClient cc = new ServiceSoapClient(); try { if (Mobj.strMobileCountryCode != "91" && Mobj.strMobileCountryCode != null && Mobj.strMobileCountryCode != "undefined") { string strMobileOther = Mobj.strMobileCountryCode + Mobj.strMobileNumber.Trim(); string result = cc.SendTextSMS("yrd", "01291954", strMobileOther, "Dear " + Mobj.strName.Trim() + "," + Mobj.strbody + " Support:" + Mobj.strEmpname + " : 91-" + Mobj.strEmpmobileNumber + " ", "smscntry"); } else { string result = cc.SendTextSMS("ykrishna", "summary$1", Mobj.strMobileNumber.Trim(), "Dear " + Mobj.strName.Trim() + "," + Mobj.strbody + " Support:" + Mobj.strEmpname + " : 91-" + Mobj.strEmpmobileNumber + " www.kaakateeya.com ", "smscntry"); } } catch (Exception ee) { } return(intStatus); } return(intStatus); }
public int MatchFollowupSendSms([FromBody] EmployeeMarketslidesendmail SendSms) { int?inull = null; if (SendSms.i_TicketID != inull && SendSms.i_TicketID != 0) { Commonclass.SendSms_new(SendSms); return(this.IEmployeeReport.MatchFollowupSendSms(SendSms)); } else { return(1); } }
public int marketingSendSms([FromBody] EmployeeMarketslidesendmail SendSms) { int?inull = null; if (SendSms.Emp_TicketingCallHistoryID != inull && SendSms.Emp_TicketingCallHistoryID != 0) { Commonclass.SendSms_new(SendSms); return(this.IEmployeeReport.marketingSendSms(SendSms)); } else { return(1); } }
public int MatchFollowupSendSms(EmployeeMarketslidesendmail Mobj) { return(new EmployeeReportPageDAL().MatchFollowupSendSms(Mobj, "[dbo].[usp_insert_customerDashboard_SMS]")); }
public int marketingSendSms(EmployeeMarketslidesendmail Mobj) { return(new EmployeeReportPageDAL().marketingSendSmsdal(Mobj, "[dbo].[usp_Marketing_sendSms]")); }