public ActionResult Add(Msg_EmailTemplete model)
        {
            Result <int>     result = new Result <int>();
            ResultView <int> view   = new ResultView <int>();

            model.TemplateCon = model.TemplateCon.FilterHtml();
            if (string.IsNullOrEmpty(model.TitleCon))
            {
                view.Flag    = false;
                view.Message = "模板标题内容不能为空";
                return(Json(view));
            }
            if (Request.Form["IsEnable"] == EnumState.Enable.ToString())
            {
                model.IsEnable = true;
            }
            else
            {
                model.IsEnable = false;
            }
            if (Request.Form["IsConfirm"] == EnumState.Confirmed.ToString())
            {
                model.IsConfirm = true;
            }
            else
            {
                model.IsConfirm = false;
            }
            using (MessageClientProxy proxy = new MessageClientProxy(ProxyEx(Request)))
            {
                result = proxy.AddEmailTemplete(model);
                view   = result.ToResultView();
            }
            return(Json(view));
        }