public static Task <NoteItem> GetNoteAsync(this FreeAgentClient client, Uri url) { var id = url.GetId(); return(client.GetNoteAsync(id)); }
public static Task <NoteItem> GetNoteAsync(this FreeAgentClient client, NoteItem note) { var id = client.ExtractId(note); return(client.GetNoteAsync(id)); }