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>())); }
public void RemoveBlackList(RelationTransportModel obj) { _proxyChat.RemoveBlackList(obj); }
public void RemoveBlackList(RelationTransportModel obj) { _chatDb.RemoveBlackList(obj.Mapping <RelationDataModel>()); _messenger.RemoveBlackListByUser(obj); }
public void AddBlackList(RelationTransportModel obj) { _proxyChat.AddBlackList(obj); }