static public void Approve(Guid workflowId, Guid objectId, string upn, string comment) { using (BasicChannel channel = new BasicChannel()) { channel.Approve(workflowId, objectId, upn, comment); } }