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 }); }
public bool ReadMessage(Guid merchantAccountId) { return(MessagesComponent.OnekeyReadMessage(merchantAccountId)); }