public void TestSetRevisionReferenceRelationPublished() { // Act var result = DyntaxaManager.SetRevisionReferenceRelationPublished(GetRevisionContext(), 24); // Assert Assert.AreEqual(true, result); }
/// <summary> /// Set revision reference relation published flag to true /// </summary> /// <param name="clientInformation">Client information.</param> /// <param name="revisionId"></param> /// <returns></returns> public bool SetRevisionReferenceRelationPublished(WebClientInformation clientInformation, int revisionId) { using (WebServiceContext context = new WebServiceContext(clientInformation)) { try { return(DyntaxaManager.SetRevisionReferenceRelationPublished(context, revisionId)); } catch (Exception exception) { WebServiceData.LogManager.LogError(context, exception); throw; } } }