public ActionResult AppLink(string appmobileNumber)
        {
            var customerInquiryBO = new CustomerInquiryBO();

            customerInquiryBO.Save(new CustomerInquiry
            {
                InquiryType  = UTILITY.CONFIG_INQ_APP,
                InquiryDate  = DateTime.Now,
                MobileNo     = appmobileNumber,
                EmailID      = null,
                CustomerName = null
            });
            string messageContent = "Your Pick-C App - is one stop solution for all goods transportation services in your city limits ," +
                                    "click below link to download your app now." + " < LINK > ";
            bool sendMessageToMobile = new smsGenerator().ConfigSms(appmobileNumber, messageContent);

            return(RedirectToAction("Index", "Dashboard"));
        }
Example #2
0
        public JsonResult SendSMS(string MobNo)
        {
            bool flag = new smsGenerator().ConfigSms(MobNo, "Please click the below link to download the PICK-C app.");

            return(base.Json(flag, JsonRequestBehavior.AllowGet));
        }