Beispiel #1
0
        public static Task <Attachment> GetAttachmentAsync(this FreeAgentClient client, Attachment attachment)
        {
            var id = client.ExtractId(attachment);

            return(client.GetAttachmentAsync(id));
        }
Beispiel #2
0
        public static Task <Attachment> GetAttachmentAsync(this FreeAgentClient client, Uri url)
        {
            var id = url.GetId();

            return(client.GetAttachmentAsync(id));
        }