public ActionResult btnAdd_Click(FormCollection values) { var msg = NotificationBLL.SendMessage(values["Phone"], values["Title"], values["Content"]); ActiveWindow.HidePostBack(); ShowNotify(msg); return(UIHelper.Result()); }
public ActionResult SendNotification(string phone, string title, string content) { var msg = NotificationBLL.SendMessage(phone, title, content); return(new JsonResult { Data = msg }); }