public ResultNormal SaveSystemNotification(EMsgContent_System newContent)
        {
            ResultNormal result = new ResultNormal();

            try
            {
                _adminServices.SaveSystemNotification(newContent);
            }
            catch (Exception ex)
            {
                result.ErrorMsg = ex.Message;
            }
            return(result);
        }
        public void CreateNotification_System(MsgSubmitSystem submitSystem)
        {
            EMsgContent_System existContent = _msgSystemRepository.GetContentSystem_Sync(submitSystem.contentId);

            if (existContent == null)
            {
                existContent = new EMsgContent_System()
                {
                    htmlContent = submitSystem.htmlContent,
                    htmlTitle   = submitSystem.htmlTitle,
                    Id          = submitSystem.contentId
                };
                _msgSystemRepository.AddContentSystem(existContent);
            }
            this.CreateSystemNoteMessage(submitSystem);
            //EMsgInfo_System msg = new EMsgInfo_System();
        }
 public void SaveSystemNotification(EMsgContent_System newContent)
 {
     _adminDb.SaveSystemNotification(newContent);
 }
 public void AddContentSystem(EMsgContent_System content)
 {
     Db.Insertable(content).ExecuteCommand();
 }
 public void SaveSystemNotification(EMsgContent_System newContent)
 {
     Db.Saveable(newContent).ExecuteCommand();
 }