// Token: 0x06001ACE RID: 6862 RVA: 0x000655DC File Offset: 0x000637DC
        protected override WacAttachmentType InternalExecute()
        {
            if (string.IsNullOrEmpty(this.attachmentId))
            {
                throw new OwaInvalidRequestException("You must provide an attachmentId when calling GetWacAttachmentInfo.");
            }
            WacAttachmentType result;

            using (AttachmentHandler.IAttachmentRetriever attachmentRetriever = AttachmentRetriever.CreateInstance(this.attachmentId, base.CallContext))
            {
                result = GetWacAttachmentInfo.Execute(base.CallContext, attachmentRetriever.RootItem.Session, attachmentRetriever.RootItem, attachmentRetriever.Attachment, this.draftId, this.attachmentId, this.isEdit);
            }
            return(result);
        }
        // Token: 0x06001B14 RID: 6932 RVA: 0x00066B94 File Offset: 0x00064D94
        protected override string InternalExecute()
        {
            string wacUrl;

            using (AttachmentHandler.IAttachmentRetriever attachmentRetriever = AttachmentRetriever.CreateInstance(this.attachmentId, base.CallContext))
            {
                StoreSession      session           = attachmentRetriever.RootItem.Session;
                Item              rootItem          = attachmentRetriever.RootItem;
                Attachment        attachment        = attachmentRetriever.Attachment;
                WacAttachmentType wacAttachmentType = GetWacAttachmentInfo.Execute(base.CallContext, session, rootItem, attachment, null, this.attachmentId, false);
                if (wacAttachmentType == null)
                {
                    throw new OwaInvalidOperationException("There is no reason known for code to reach here without throwing an unhandled exception elsewhere");
                }
                wacUrl = wacAttachmentType.WacUrl;
            }
            return(wacUrl);
        }