예제 #1
0
        public ActionResult Send(Msg msg)
        {
            MsgFunction msgFunction = new MsgFunction();

            List <Results> getres = msgFunction.sendSms(msg);

            return(View("Results", getres));
        }
예제 #2
0
        public List <Results> send(string phonenumber, string content)
        {
            MsgFunction msgFunction = new MsgFunction();
            Msg         msg         = new Msg();

            msg.phonenumber = phonenumber;
            msg.content     = content;

            List <Results> getres = msgFunction.sendSms(msg);

            return(getres);
        }