public async void SendUserNodeChangedNodeNoticeAsync(long userId, long newNodeId) { try { UserNodeChangedNodeNotice notice = new UserNodeChangedNodeNotice(userId, newNodeId); await SendNoticeToNodesAsync(notice).ConfigureAwait(false); } catch (Exception ex) { Logger.WriteLog(ex); } }
public UserNodeChangedNodeNoticeHandler(NodeNotice notice, NodeConnection current, IUpdateUsersService updateUsersService) { this.notice = (UserNodeChangedNodeNotice)notice; this.current = current; this.updateUsersService = updateUsersService; }