public async void SendDeleteUserKeysNodeNoticeAsync(IEnumerable <long> keysId, long userId) { try { DeleteUserKeysNodeNotice notice = new DeleteUserKeysNodeNotice(keysId, userId); await SendNoticeToNodesAsync(notice).ConfigureAwait(false); } catch (Exception ex) { Logger.WriteLog(ex); } }
public DeleteUserKeysNodeNoticeHandler(NodeNotice notice, NodeConnection current, IKeysService keysService) { this.notice = (DeleteUserKeysNodeNotice)notice; this.current = current; this.keysService = keysService; }