Exemplo n.º 1
0
        public ServiceResult <bool> OnekeyReadMessage()
        {
            bool result = false;

            try
            {
                new ArticleComponent().OnekeyRead(this.GetUser().Id);
                result = MessagesComponent.OnekeyReadMessage(this.GetUser().Id);
            }
            catch (Exception ex)
            {
                _log.Error(string.Format("OnekeyReadMessage:{0}", ex));
            }
            return(new ServiceResult <bool>
            {
                Data = result
            });
        }
Exemplo n.º 2
0
 public bool ReadMessage(Guid merchantAccountId)
 {
     return(MessagesComponent.OnekeyReadMessage(merchantAccountId));
 }