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