Exemple #1
0
 /// <summary>
 /// 获取私信实体
 /// </summary>
 /// <param name="messageId">私信Id</param>
 public MessageSession GetSession(long messageId)
 {
     return(messageSessionRepository.Get(messageId));
 }
Exemple #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="userId"></param>
 /// <param name="otherUserId"></param>
 /// <returns></returns>
 public MessageSession GetMessageSession(long userId, long otherUserId)
 {
     return(messageSessionRepository.Get(userId, otherUserId));
 }