Пример #1
0
 public void RemoveBlackListByUser(RelationTransportModel obj)
 {
     _onlineUserCallbacks
     .Where(pair => obj.RelationUsersId.Contains(pair.Key))
     .Select(pair => pair.Value)
     .ToList().ForEach(c
                       => c.RemoveBlackListByUser(obj.Mapping <BlackListByUserTransportModel>()));
 }
Пример #2
0
 public void RemoveBlackList(RelationTransportModel obj)
 {
     _proxyChat.RemoveBlackList(obj);
 }
Пример #3
0
 public void RemoveBlackList(RelationTransportModel obj)
 {
     _chatDb.RemoveBlackList(obj.Mapping <RelationDataModel>());
     _messenger.RemoveBlackListByUser(obj);
 }
Пример #4
0
 public void AddBlackList(RelationTransportModel obj)
 {
     _proxyChat.AddBlackList(obj);
 }