/// <summary>
        /// 保存消息
        /// </summary>
        /// <returns></returns>
        public ActionResult SaveMessages(MessagesSettingEditModel messagesSettingEditModel)
        {
            InvitationSettings invitationSettings;
            NoticeSettings noticeSettings = messagesSettingEditModel.AsMessagesSettings(out invitationSettings);
            noticeSettingsManager.Save(noticeSettings);
            invitationSettingsManager.Save(invitationSettings);

            return Json(new StatusMessageData(StatusMessageType.Success, "保存成功!"));
        }
        /// <summary>
        /// 消息设置
        /// </summary>
        /// <returns></returns>
        public ActionResult MessagesSettings()
        {
            pageResourceManager.InsertTitlePart("消息设置");
            NoticeSettings noticeSettings = noticeSettingsManager.Get();
            InvitationSettings invitationSettings = invitationSettingsManager.Get();

            MessagesSettingEditModel messagesSettingEditModel = new MessagesSettingEditModel(noticeSettings, invitationSettings);
            return View(messagesSettingEditModel);
        }