Exemplo n.º 1
0
 public async void SendUsersAddedToUserBlacklistNodeNoticeAsync(List <long> usersId, long userId)
 {
     try
     {
         UsersAddedToUserBlacklistNodeNotice notice = new UsersAddedToUserBlacklistNodeNotice(userId, usersId);
         await SendNoticeToNodesAsync(notice).ConfigureAwait(false);
     }
     catch (Exception ex)
     {
         Logger.WriteLog(ex);
     }
 }
Exemplo n.º 2
0
 public UsersAddedToUserBlacklistNoticeHandler(NodeNotice notice, NodeConnection current, IUpdateUsersService updateUsersService)
 {
     this.notice             = (UsersAddedToUserBlacklistNodeNotice)notice;
     this.current            = current;
     this.updateUsersService = updateUsersService;
 }