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);
     }
 }
Exemple #2
0
 public UsersAddedToUserBlacklistNoticeHandler(NodeNotice notice, NodeConnection current, IUpdateUsersService updateUsersService)
 {
     this.notice             = (UsersAddedToUserBlacklistNodeNotice)notice;
     this.current            = current;
     this.updateUsersService = updateUsersService;
 }