private bool DoAdd()
        {
            Model.sms_template model = new Model.sms_template();
            BLL.sms_template   bll   = new BLL.sms_template();

            model.title      = txtTitle.Text.Trim();
            model.call_index = txtCallIndex.Text.Trim();
            model.content    = txtContent.Text;

            if (bll.Add(model) > 0)
            {
                AddAdminLog(PLEnums.ActionEnum.Add.ToString(), "添加短信模板:" + model.title); //记录日志
                return(true);
            }
            return(false);
        }
        private bool DoAdd()
        {
            Model.sms_template model = new Model.sms_template();
            BLL.sms_template bll = new BLL.sms_template();

            model.title = txtTitle.Text.Trim();
            model.call_index = txtCallIndex.Text.Trim();
            model.content = txtContent.Text;

            if (bll.Add(model) > 0)
            {
                AddAdminLog(DTEnums.ActionEnum.Add.ToString(), "添加短信模板:" + model.title); //记录日志
                return true;
            }
            return false;
        }