Beispiel #1
0
        public static Task <NoteItem> GetNoteAsync(this FreeAgentClient client, Uri url)
        {
            var id = url.GetId();

            return(client.GetNoteAsync(id));
        }
Beispiel #2
0
        public static Task <NoteItem> GetNoteAsync(this FreeAgentClient client, NoteItem note)
        {
            var id = client.ExtractId(note);

            return(client.GetNoteAsync(id));
        }