/// <summary> /// Set a certificate storage on the server. /// </summary> /// <param name="comand">Command to delete a voting.</param> /// <param name="callBack">Callback upon completion.</param> public void DeleteVoting(Signed<DeleteVotingRequest.Command> comand, DeleteVotingCallBack callBack) { lock (this.operations) { this.operations.Enqueue(new DeleteVotingOperation(comand, callBack)); } }
/// <summary> /// Create a new vote cast opeation. /// </summary> /// <param name="command">Command to delete the voting.</param> /// <param name="callBack">Callback upon completion.</param> public DeleteVotingOperation(Signed<DeleteVotingRequest.Command> command, DeleteVotingCallBack callBack) { this.command = command; this.callBack = callBack; }